lua-users home
lua-l archive

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


Hallo,

On 8/22/07, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>
> When you capture a continuation you capture its local variables, not the
> current values of these variables (at least in Scheme). If you modify
> a local variable and later call the captured continuation, the variable
> does not "roll back" to its value when the continuation was saved.
>

     That's true, but some discipline can solve that. The usual
programming style in Scheme is functional, so side-effects are hardly
an issue.

Cheers,
-- 
-alex
http://www.ventonegro.org/