On May 30, 8:11 pm, Richard Newman <holyg...@gmail.com> wrote:
> > 2. Why is there no other way to determine an empty coll except (not
> > (seq coll)).
>
> user=> (empty? [])
> true

And in fact, the docs for (empty?) say:

  "Please use the idiom (seq x) rather than (not (empty? x))"

Perhaps the seq docs should indicate empty? in some way.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to