There was regression in Clojure SVN r1370. Test for 'binding' is in:
http://code.google.com/p/clojure-contrib/source/browse/trunk/src/clojure/contrib/test_clojure/vars.clj

I can reproduce it with r1370.

Frantisek

On Jun 16, 8:08 pm, Stuart Halloway <stuart.hallo...@gmail.com> wrote:
> This surprised me. What part of my mental model needs to be  
> adjusted? :-)
>
> user=> (def dozen 12)
> #'user/dozen
>
> user=> (binding [dozen 13] dozen)
> 12 ; hunh?
>
> user=> (#(binding [dozen 13] dozen))
> 13
--~--~---------~--~----~------------~-------~--~----~
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