Hi On 26 August 2011 17:44, Tassilo Horn <[email protected]> wrote: [...] > BTW2: Instead of (empty? coll), use the idiomatic (seq coll) recipe.
You have that one backwards :) user=> (doc empty?) ------------------------- clojure.core/empty? ([coll]) Returns true if coll has no items - same as (not (seq coll)). Please use the idiom (seq x) rather than (not (empty? x)) nil -- Michael Wood <[email protected]> -- 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
