[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Second class nil? Strong and weak nils in tables?
- From: "steve donovan" <steve.j.donovan@...>
- Date: Sat, 27 Oct 2007 15:36:42 +0200
Of course, but this would be a special value of null with the
following two properties (a) if there are any nils in ..., then {...}
will represent these with null (b) next() will return key,nil when it
encounters a (key,null) entry in a table.
On 10/27/07, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> > Another possibility would be to have a special unique non-nil value
> > (call it 'null') which is used to represent any embedded nils in
> > {...}.
>
> You can use null=false or null={} if you must have null.
>