On Wed, Feb 17, 2010 at 6:49 AM, Terrence Brannon <scheme...@gmail.com>wrote:

>
>
> Also, I'm not clear on why I cant get the metadata for this variable x I
> just defined even though meta() takes an object as argument <
> http://clojure.org/metadata>
>

Because I passed the value of the variable x, not the object... here's how
to get the metadata:

user=> (meta (var x))
{:ns #<Namespace user>,
 :name x,
 :file "NO_SOURCE_PATH",
 :line 2,
 :doc "some doc"}

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

Reply via email to