Hi,
my understanding is, that the metadata is evaluated when the literal is
evaluated. In the first case this means to just strip the surrounding
quote. So nothing happens to the metadata. In the second case upon
evaluation the literal vector is traversed and its elements are evaluated.
During this process also the metadata gets evaluated.
The reader does no evaluation whatsoever (modulo "#=" and such
specialities). You can see the effect by doing something like this:
{(gensym) :a (gensym) :b}.
I think the issue with the empty vector in the quote is a bug.
Meikel
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.