lua-users home
lua-l archive

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


> We considered this second argument as "an
> implementation detail" (because most functions in Lua simply ignore
> extra arguments), so we did not put it in the documentation.

And when it can go wrong, it will...  :-)  I came across this
implementation detail in my lgmp package.  Initially "__unm" was
simply an alias of the "neg" method, but the second (optional)
argument to "neg" has a not so trivial meaning in lgmp...  (It was
easily fixed of course.)

--
Wim