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)).

Note: This came out of the :while condition of a (for) expression not
returning what I expected on three separate values, where (= x z).

I can work around it to get what I want, but I was curious if perhaps
the (not=) was not in the spirit it was intended.

-- 
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

Reply via email to