On Tue, Jun 16, 2009 at 2:27 PM, Stuart
Halloway<stuart.hallo...@gmail.com> wrote:
>
> OK, just updated the repos. and this isn't happening anymore. Kind of
> a strange bug though. Rich, do you know why this happened (and did you
> explicitly fix it at some point?)
>
>> Strange, I get the expected result, Clojure SVN revision 1382:
>>
>> user> (def dozen 12)
>> #'user/dozen
>> user> (binding [dozen 13] dozen)
>> 13
>> user> (#(binding [dozen 13] dozen))
>> 13
>> user>
>>
>> -the other Stuart
>>
>>
>> On Jun 16, 2: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
>> >
>

I can't reproduce that.

Rich

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