lua-users home
lua-l archive

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


It was thus said that the Great Russell Haley once stated:
> On Wed, Jun 12, 2019 at 5:46 AM Roberto Ierusalimschy <
> roberto@inf.puc-rio.br> wrote:
> 
> > > Right now, my only complain with the <toclose> is the term "close" that I
> > > found a bit vague and over-loaded (conceptually).
> >
> > Suggestions are welcome.
> >
> > -- Roberto
> >
> > local <finalize> varname
> 
> with a meta method of
> __finalize or __finally

  __finalize was first proposed (as far as I can tell) in 2009:

	http://lua-users.org/lists/lua-l/2009-12/msg00737.html

  __finally is a new one.

  -spc (Why yes, I keep track of proposed metamethods, why do you ask?)