>> 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))
Not allowed unless you mark `foo' as dynamic. The syntax looks like this - (def ^:dynamic foo false) Regards, BG -- Baishampayan Ghose b.ghose at gmail.com -- 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