Alan <[email protected]> writes:

Hi Alan,

> And yes, it slows things down a bit, so in 1.3 the default is to not
> support rebinding (though re-def'ing is still supported).

What do you mean by doesn't support rebinding?  Does that mean, that
things like

  (def foo false)
  (binding [foo true] (dostuff))
  (let [foo true] (dostuff) (println foo))

aren't supported anymore?

BTW, I'm new to clojure, so I just got a question concerning binding
versus let right now.  If `dostuff' is a function that only prints the
value of foo, am I right that the `binding' line would print "true",
whereas the the `let' line prints "false" and "true", because the
dostuff-print is not in the lexical scope of the let, right?

Bye,
Tassilo

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

Reply via email to