[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 'table' as fallback for tables
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 25 Jun 2016 15:41:42 -0300
> 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