2012/11/8 Ben Wolfson <wolf...@gmail.com> > Is that true? I mean, lots of uses of condp I see have the p be =, and > this came up for me precisely because I was using a map as the test in > cond. In any case, when it *is* useful, it's pretty useful.
= is a point in case: (condp = foo bar :>> #(using-foo-identity %)) vs hypothetical (cond (= foo bar) :>> #(using-true %)) OTOH using a map as a predicate is a valid case and I've encountered it myself. -- 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