lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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