lua-users home
lua-l archive

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




On Wed, Jun 12, 2019 at 12:28 PM Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:
>>>>> "Roberto" == Roberto Ierusalimschy <roberto@inf.puc-rio.br> writes:

 >> Right now, my only complain with the <toclose> is the term "close"
 >> that I found a bit vague and over-loaded (conceptually).

 Roberto> Suggestions are welcome.

Egor suggested <resource>. I think Sean Connor's <cleanup> is better,
but to throw out some other random ideas: <unwind> or <onexit>.

--
Andrew.


+1 to <onexit>. I think I might like it better than <scoped>.

<cleanup> and <unwind> aren't bad.

/s/ Adam