Mark Volkmann writes:
>> Whoops, this caught me today. Whereas "let" evaluates its bindings
>> sequentially, "binding" does not! Observe:
>>
>> (def a "a1")
>> (def b "b1")
>>
>> (let [a "a2", b a] b)
>> ;;=> "a2"
>>
>> (binding [a "a2", b a] b)
>> ;;=> "a1"
>>
>> I wouldn't call this a bug, b
On Thu, Feb 12, 2009 at 3:26 PM, Stuart Sierra
wrote:
>
> Whoops, this caught me today. Whereas "let" evaluates its bindings
> sequentially, "binding" does not! Observe:
>
> (def a "a1")
> (def b "b1")
>
> (let [a "a2", b a] b)
> ;;=> "a2"
>
> (binding [a "a2", b a] b)
> ;;=> "a1"
>
> I wouldn'