Sounds like you want a function such as: none= On Sep 3, 2011 4:30 AM, "Vijay Lakshminarayanan" <liyer.vi...@gmail.com> wrote: > ax2groin <ax2gr...@gmail.com> writes: > >> This code doesn't return the value I intuitively expect: >> >> user=> (not= 1 2 1) >> true >> >> When I write that, I was expecting the equivalent of (and (= 1 2) (= 1 >> 1)), but the macro expansion is essentially (not (= 1 2 1)). > > If you were expecting (not (and (= 1 2) (= 1 1))) then it would match > your expectations. > > -- > Cheers > ~vijay > > -- > 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
-- 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