[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 5.2 work3 manual
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 25 May 2010 16:03:33 +0200
On Tue, May 25, 2010 at 3:35 PM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> Which is precisely the mad urge which causes all the problems in the
> first place.
Which was of course a silly thing to say in a serious conversation;
there is currently no way to avoid nils in tables, otherwise the
useful {n=select('#',...),...} would not work correctly. But is it
not possible to have a sentinel non-nil value which otherwise behaves
exactly like nil? Call it Nil, or none; type(none)=='nil'.
This makes array semantics more sensible at the cost of introducing
another value.
steve d.
- References:
- Re: 5.2 work3 manual, Luiz Henrique de Figueiredo
- Re: 5.2 work3 manual, Gavin Wraith
- Re: 5.2 work3 manual, Gavin Wraith
- Re: 5.2 work3 manual, Tony Finch
- Re: 5.2 work3 manual, Florian Weimer
- Re: 5.2 work3 manual, Javier Guerra Giraldez
- Re: 5.2 work3 manual, Tony Finch
- Re: 5.2 work3 manual, Juris Kalnins
- Re: 5.2 work3 manual, Tony Finch
- Re: 5.2 work3 manual, steve donovan