Hi, I've got two questions regarding meta information.
Question 1: I can say (def x1 (with-meta [] {:m 1})) or (def x2 ^{:m 1} []) and will get my map back with either (meta x1) or (meta x2). But when I do (def y1 (with-meta 'a {:m 1})) (def y2 ^{:m 1} 'a) only (meta y1) spits the map back at me, (meta y2) evaluates to nil. What am I doing wrong ? Maybe the meta info is attached to (quote a) and not to the symbol, because that is "the next form read" ? Question 2: The following is, of course, an extremely silly thing to do, but I can't help myself: When I say (def z1 (with-meta [] {})) and (def z2 ^{} []) again, only (meta z1) gives me my content-rich meta information back, but (meta z2) returns nil. What am I missing ? Thanks for your help, Heinz. -- 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