|
__pairs
and __ipairs enough for me.
zhiguo zhao wrote:Yes, that would be fairly easy. Same goes about __len for tables.
> __pairs is very useful for my extend module, this meta can be support by
> lj2?
Anything else?
Does anyone object to adding support for this unconditionally?
I mean ... those metamethods are currently ignored, so in theory
nobody ought to have it in their metatables.
--Mike