On Sun, Dec 5, 2010 at 6:55 PM, HB <hubaghd...@gmail.com> wrote:
> Ken & Alex,
> Why you aren't calling empty? when you want to check if a collection
> is empty?
>
> Isn't (if s) supposed to return true if s is empty ?

If coll is empty, (seq coll) and (next coll) are both nil, which is
logical false.

-- 
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