Re: [ANN] Lua 5.2.0 (work1) now available
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: Nevin Flanagan <Alestane@...>
- Date: Sat, 9 Jan 2010 15:54:41 -0500
On Jan 9, 2010, at 3:26 PM, Tom N Harris wrote:
> steve donovan wrote:
>>
>> I am also excited about the __len metamethod.
>
> __index can be a table instead of a function. Can __len be a number?
It seems to me that it could be, if it can't be now. That seems to fit well into the Lua idiom.