[plt-scheme] fluid-let (version 103p1)

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Dec 1 23:32:07 EST 2004

At Fri, 26 Nov 2004 16:44:41 +0100, "Jos Koot" wrote:
> Consider: a fluid-let form in DrScheme, version 103p1
> -that dynamically assigns a value "original" to a variable
> -whose body assigns a new value "new" to this variable
> -then exits the dynamic extent of the fluid-let form by means
>  of a continuation
> -then regains control because a continuation is called that is
>  located in the dynamic extent of the fluid-let form
> It appears that fluid-let restores the "original" value,
> not the "new" value. See example 1. For me it seems more logical
> fluid-let to behave like example 2.

As of version 200 or so, `fluid-let' restores the "new" value, so the
two examples produce the same results.


Posted on the users mailing list.