lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>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