lua-users home
lua-l archive

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



I'm trying to wrap my head around the idea. __index and __newindex are used to represent the entirety of the possible namespace. I can see ipairs possibly applying, since there is a __len metamethod. However, pairs would have no defined endpoint for encompassing the namespace of a table, and the resulting set would be infinite.