lua-users home
lua-l archive

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

On Mon, Aug 15, 2011 at 10:24 AM, Eike Decker <> wrote:
> It would be really cool if Lua provided a way to handle stack
> unwinding so that one can create transaction objects that either
> commit or rollback depending on what is happening.

It would be cool. There have been a number of proposals that do exactly that

However, I'm sure it can be done reasonably efficiently in the
language with pcall() and closures.

steve d.