[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] dynamic scoping
From: |
Felix |
Subject: |
Re: [Chicken-users] dynamic scoping |
Date: |
Thu, 27 Jun 2013 15:39:51 +0200 (CEST) |
From: John Cowan <address@hidden>
Subject: Re: [Chicken-users] dynamic scoping
Date: Wed, 26 Jun 2013 20:17:38 -0400
> Dan Leslie scripsit:
>
>> The related SRFI is withdrawn, is it safe to assume that fluid-let
>> will be available outside of Chicken?
>
> The implementation of fluid-let is trivial, provided you don't have
> more than one thread to deal with. That's why they were withdrawn,
> bad behavior when multiple threads are involved. Parameters have
> their own problems, especially when mutated rather than rebound,
> but they're an advance on fluid-let.
I found fluid-let nice for dynamically binding lexical/local variables
in nested functions. But for global dynamic binding, parameters are of course
more robust.
cheers,
felix