You can see it if you read: user=> (read-string "(= (list {'a 42}) '({'a 42}))") ;;=> (= (list {(quote a) 42}) (quote ({(quote a) 42})))
If you remove it: user=> (= (list {'a 42}) '({a 42})) ;;=> true On Saturday, September 26, 2015 at 3:12:44 PM UTC+2, Chris Cornelison wrote: > > Anyone know why these evaluate differently and are not equal? > > $lein repl > nREPL server started on port 56056 on host 127.0.0.1 - nrepl:// > 127.0.0.1:56056 > REPL-y 0.3.5, nREPL 0.2.6 > Clojure 1.6.0 > Java HotSpot(TM) 64-Bit Server VM 1.8.0_31-b13 > Docs: (doc function-name-here) > (find-doc "part-of-name-here") > Source: (source function-name-here) > Javadoc: (javadoc java-object-or-class-here) > Exit: Control+D or (exit) or (quit) > Results: Stored in vars *1, *2, *3, an exception in *e > > user=> (list {'a 42}) > ({a 42}) > user=> '({'a 42}) > ({(quote a) 42}) > user=> (= (list {'a 42}) '({'a 42})) > false > -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.