[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: The terms "sequence", "list", etc in Lua 5.2.0 (beta-rc1)
- From: David Manura <dm.lua@...>
- Date: Wed, 15 Jun 2011 21:48:22 -0400
On Wed, Jun 15, 2011 at 9:42 PM, Xavier Wang <weasley.wx@gmail.com> wrote:
>> The length of a table t is only defined if the table is a sequence, that is,
>> all its numeric keys comprise the set {1..n} for some integer n.
> is that mean, a empty table ({}) has no length defined?
Maybe say "non-negative integer n". IMO, {1..0} == {}.