lua-users home
lua-l archive

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


On Sat, Jun 15, 2019 at 9:35 PM Sean Conner wrote:
It was thus said that the Great Kenneth Lorber once stated:
> From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
>
> > > 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.
>
> <onescape>
> metamethod __escaped

  One scape?
  Ones cape?

  -spc (Yes, I see it's 'on escape' but it looks weird to me ... )



Let's add some drama to Lua programming :-)
local <jailed> x = setmetatable(obj, {__escaped = ...})
local <perishable> x = setmetatable(obj, {__expired = ...})