On Nov 26, 1:42 pm, Stefan Rohlfing <stefan.rohlf...@gmail.com> wrote: > Question 1: > (when (some identity maps) > > This expression from the original implementation checks if the > provided coll is empty. > However, why not just use (when (empty? maps) or (when (seq maps) > instead?
Note also that (seq maps) and (empty? maps) check whether the coll of maps is empty, i.e. whether any maps were given. (some identity maps), on the other hand, checks whether there is any non-empty map *in the coll of maps*. Daniel -- 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