Hi, On Jan 29, 10:52 am, DanL <leidis...@gmail.com> wrote:
> > (if (some #{"foo"} ["foo" "bar"]) "yay" "humbug") > > In my opinion, there really should be something like CL's FIND or > MEMBER in core (maybe both, since MEMBER is restartable but FIND > immediately returns the found element). I think using a set to achieve > this functionality is counter-intuitive (who thinks: Let's find an > element of a one element set within this collection when he just wants > to find something?) > > There is #'includes? in seq-utils, but it isn't restartable and, as I > said, I think it belongs in core. http://groups.google.com/group/clojure/msg/f2585c149cd0465d Sincerely Meikel -- 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