sorry ... the expression should have been .. the expression should have been
(when-first [x [1 2 3 4 5]] (+ x 1 2)) and it works fine... Thanks .. :) Sunil. On Fri, Oct 15, 2010 at 9:38 PM, Sunil S Nandihalli < sunil.nandiha...@gmail.com> wrote: > Hello everybody, > The evaluation of > > (when-first [[x y z] [1 2 3 4 5]] (+ x y z)) > > is returning > > nil > > I was expecting it to return 6 .. > am I missing something ? > Thanks, > Sunil. > -- 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