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:
> >      They use multiple shots to handle the browser's back button or
> > the user creating multiple windows that access the same page. When the
> > user clicks back, the old saved continuation resumes where it stopped,
> > with all its saved state, seamlessly.
>
> And how do they handle side effects? (Continuations do not save state,
> only control...)
>

     I'm not sure I'm following you. Continuations have state, just
like closures do, in the form of local variables and lexically-scoped
variables.

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