lua-users home
lua-l archive

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


> Why doesn't table.pack set a default metatable that uses self.n for __len?

Because using an explicit ".n" in the code (and knowing what it means)
seem simpler.

-- Roberto