lua-users home
lua-l archive

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


Alexander Gladysh <agladysh@gmail.com> writes:

> On Sat, Jan 8, 2011 at 13:28, David Kastrup <dak@gnu.org> wrote:
>> GrayFace <sergroj@mail.ru> writes:
>>> On 08.01.2011 14:34, David Kastrup wrote:
>
>>>> I think it should be defined as a straight noop not changing the table
>>>> at all, ever.
>
>> insert(t,n,somefunction(...))
>
>> where somefunction may decide not to return a value.
>
> You can not be sure what user meant by this. Perhaps he does want to
> insert nil.

There is no way to insert nil in a table.  No matter what the user
wants.

-- 
David Kastrup