[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Issues with the current varargs implementation (Was: Re: inadequate documentation for select and table.unpack)
- From: Patrick Donnelly <batrick@...>
- Date: Tue, 21 Jun 2016 15:38:39 -0400
On Tue, Jun 21, 2016 at 3:29 PM, Soni L. <fakedme@gmail.com> wrote:
>
>
> On 21/06/16 04:26 PM, Patrick Donnelly wrote:
>>
>> On Tue, Jun 21, 2016 at 3:22 PM, Soni L. <fakedme@gmail.com> wrote:
>>>
>>> But varargs (and thus varargs-based arrays) are nil-safe by default.
>>
>> Show me in the manual where it says **tables** are not nil safe and
>> I'll stop posting to lua-l*.
>>
>> * For today at least.
>>
> http://www.lua.org/manual/5.3/manual.html#3.4.7
> [...]
> the length of a table t is only defined
> if the table is a sequence,
I left in the important part for you ^. # is only defined for sequences.
--
Patrick Donnelly