I was messing with the REPL when I found this happens: Clojure 1.0.0- user=> (def a #^{:a 5} [1 2 3]) #'user/a user=> ^a {:a 5} user=> (def b #^{:b 2} '(1 2 3)) #'user/b user=> ^b {:line 3} user=> (def c (with-meta '(1 2 3) {:c 0})) #'user/c user=> ^c {:c 0}
What's going on with that {:line 3}? Is it something that the REPL is doing? Where did {:b 2} go? And why does it happen with the reader macro #^ and not with-meta? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---