On 27 May 2011 18:01, MarisO <maris.orbid...@gmail.com> wrote: > there is find-first in contrib > > (find-first #(not (nil? %)) sol)
Or: (find-first (complement nil?) coll) or: (first (filter (complement nil?) coll)) but I like Meikel's (first (keep identity coll)) suggestion, even if I find it less straight-forward. I'd also prefer to avoid contrib for a simple thing like this. -- Michael Wood <esiot...@gmail.com> -- 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