lua-users home
lua-l archive

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


Hello,
I'm a Lua newbie.
Is it possible to overload some operator like '+'  to perform function composition?
I suppose I could do it by wiring a function 'compose' to the __add event. But how could I get the metatable for the prototype of all functions?

regards,
mayama