[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Definition of a sequence
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 4 Jun 2015 15:26:55 -0300
> Imagine that the concept of "sequence" only came in with Lua 5.3,
> when integers are already distinguished and are preferred over
> floats of equal value as table keys. Surely the definition would
> in that case have been formulated in terms of integes.
Following that reasoning, would the following be a sequence too?
seq = {10, 20, 30, [2^63] = 40}
After all, 2^63 is not an integer key.
-- Roberto