lua-users home
lua-l archive

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


zhiguo zhao wrote:
> __pairs is very useful for my extend module,  this meta can be support by
> lj2?

Yes, that would be fairly easy. Same goes about __len for tables.
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