[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: operator overloading
- From: mayamatakeshi <mayamatakeshi@...>
- Date: Fri, 5 Dec 2008 19:44:15 +0900
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