Hi, Am 13.06.2011 um 08:00 schrieb Sean Corfield:
> (defn filter-keys [coll keys] (filter (apply some-fn (map #(fn [c] > (find c %)) keys)) coll)) > > Maybe someone can clean that up? Just use contains? in your original solution. (defn filter-keys [ks coll] (filter #(some (partial contains? %) ks) coll)) Not as nice as before, but it should work. Sincerely Meikel -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
