lua-users home
lua-l archive

Re: 'table' as fallback for tables

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


> Bingo! I'd say an `n` key with an integer value greater than or
> equal to 0, but let's not nitpick. I also think this would have been
> a viable alternative to the sequence concept we now have, because it
> has some useful properties:
> 
> * [...]
Something that seems to be missing in this discussion is constructors:
 l = {1, 2, 3, 4, 5}
 print(#l) --> ? (no 'l.n'...)
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /