Hi,

Am 13.06.2011 um 09:19 schrieb Sean Corfield:

>> (defn filter-keys
>>  [ks coll]
>>  (filter #(some (partial contains? %) ks) coll))
> 
> Needs to be (defn filter-keys [coll ks] ...)

I disagree. Clojure puts sequence arguments usually last. See filter, remove, 
take-while, ... I would exchange the arguments and follow the usual Clojure 
style.

> So many functions...

Hehe. :) That's why it's called “functional.” ;)

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

Reply via email to