lua-users home
lua-l archive

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

On 7 June 2010 03:31, HyperHacker <> wrote:
> How about the number of elements in the table? (i.e. number of keys
> whose values aren't nil, for you pedantic types)

Not as useful as having the size of continuous block without holes,
but *any* definition of #t that doesn't depend on the assignment
pattern would be better than the current one (i.e., for two tables
containing exactly the same keys the # operator should always return
the same value at the very least).