Hi, On Oct 22, 2:15 am, Cameron McKay <cdmc...@gmail.com> wrote: > Not sure if you guys know this but binding doesn't work in 1.1.0-alpha > on Snow Leopard and apparently Linux. > > (def foo 10) > ; => '#user/foo > > foo > ; => 10 > > (binding [foo 42] foo) > ; => 10 > > (binding [user/foo 42] foo) > ; => 10 > > (binding [user/foo 42] (var-get #'user/foo)) > ; => 10 > > Here's the post on > StackOverflow:http://stackoverflow.com/questions/1599037/clojure-binding-not-working
This is what I get with current master HEAD: Clojure 1.1.0-alpha-SNAPSHOT user=> (def foo 10) #'user/foo user=> foo 10 user=> (binding [foo 42] foo) 42 Seems ok. Sincerely Meikel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---