[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.2 Length Operator and tables (bug?)
- From: joao lobato <btnfdp.lobato@...>
- Date: Tue, 17 Apr 2012 21:12:58 +0100
On 4/17/12, Coda Highland <chighland@gmail.com> wrote:
> Okay, yeah, then the only way to verify issequence is to either (1)
> get the real size of the array part (which isn't exposed AFAIK) or (2)
> iterate over pairs(t).
>
> /s/ Adam
>
>
A sequence can have all the key-value pairs in the array-part, all in
the hash-part or every case in between.
Those two concepts are orthogonal.