[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Ang: Re: Closure of lexical environment in Scheme closures
- From: "rhq093s@..." <rhq093s@...>
- Date: Thu, 11 Nov 2004 22:45:21 +0100 (MET)
>Guile is not valid Scheme, since Scheme made the set! syntactic keyword
>illegal because it broke closure encapsulation. This is *precisely*
>the issue --- if Scheme is our reference on this particular issue then
>we're illegally modifying our Lua closures.
I ran the code under PLT Scheme using the Standard R5RS language. And
it behaved exactly like the Guile run. Except I had to make one small change
from using nil to (). So it seems like the lexical scoping is OK in these
cases.
MvH Dan Andersson