[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Table functions in Lua 5.2 Reference Manual
- From: Patrick Donnelly <batrick@...>
- Date: Fri, 29 Apr 2011 12:04:38 -0400
On Fri, Apr 29, 2011 at 8:49 AM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> But what about my other issues in section 6.5? I wrote:
>>
>> > 1. What are "most functions" out of six?
>> > 2. Please add "(see §3.4.6)." at the end of the section.
>> > 3. It is still not clear how the table methods work if you
>> > override the length operator with a __len metamethod.
>>
>> Especially a clarification for the third issue would be helpful.
>
> We read your suggestions; thank you. (About the "third issue",
> __len metamethods will be respected.)
Will __index|__newindex also be respected? There doesn't seem to be
much point in respecting __len if __index and __newindex are ignored.
--
- Patrick Donnelly