lua-users home
lua-l archive

Re: continuations (was Re: error() or nil, 'error msg')

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


> >> Yes, yield is a specific case, just as exceptions are a specific case
> >> and setjmp/longjmp is a specific case. We'd have to go to something
> >> like Scheme to get generalized continuations.
> >
> > Or to Lua with gotos to outside a function ;-)
> 
> 
> is that a hint of things to come?
Quite the opposite. It is a hint of how difficult (or how far fetched)
it is to remove that limitation.
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /