Sent from my HTC

----- Reply message -----
From: "Cedric Greevey" <cgree...@gmail.com>
To: <clojure@googlegroups.com>
Subject: Help with #'
Date: Mon, Apr 23, 2012 4:41 PM


On Mon, Apr 23, 2012 at 8:36 AM, Tassilo Horn <tass...@member.fsf.org> wrote:
> It seems that Clojure dereferences Var's automatically, possibly multiple
> times, in case of function calls.

Multiple times confirmed:

user=> (defn foo [] "Boo!")
#'user/foo
user=> (type foo)
user$foo
user=> (def bar #'foo)
#'user/bar
user=> (type bar)
clojure.lang.Var
user=> (def baz #'bar)
#'user/baz
user=> (type baz)
clojure.lang.Var
user=> (type @baz)
clojure.lang.Var
user=> (baz)
"Boo!"

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