lua-users home
lua-l archive

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


On Tue, Nov 24, 2015 at 11:52 AM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> 1 - if its value is a function, that function is called (no parameters)

i like that option!

of course, when cleaning up is releasing a "resource", then it's
reasonable to call a (library defined) metamethod, but also allowing a
function to be called makes it so much nicer as an end user tool.


-- 
Javier