There was just this question the other day:

http://stackoverflow.com/questions/30922413/why-does-metadata-symbol-not-work

There is also a few threads a few weeks ago here on google groups about it:

https://groups.google.com/d/msg/clojure/_e7vBom2acw/0AAKTiGuzv4J

HTH


On Thursday, June 25, 2015 at 10:00:59 AM UTC-4, Sarkis Karayan wrote:
>
>
> Why doesn't this work?
> user=> (meta ^{:some-meta 123} 'n)
> nil
>
> While this works:
> user=> (meta ^{:some-meta 123} (fn [n] n))
> {:some-meta 123}
>
> And this works too:
> user=> (meta (with-meta 'n {:some-meta 123}))
> {:some-meta 123}
>
>
> Is this intended behavior?  If so, what's the reasoning?
>
> Thanks,
> Sarkis
>
>

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

Reply via email to