I think maybe you want complement: http://clojure.org/api#complement
On Thu, Apr 30, 2009 at 1:50 PM, samppi <rbysam...@gmail.com> wrote: > > I know there's a core function that takes a predicate and returns its > opposite: > > (defn mystery [predicate] > (fn [x] (not (predicate x)))) > > I'm having a lot of trouble finding the name of it in the docs, > though. Could anyone give me its name? Or does this function not exist > in the core? > > > --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---