[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lists with nil play nice for Lua 5.2
- From: Mark Hamburg <mhamburg@...>
- Date: Wed, 08 Aug 2007 11:37:17 -0700
on 8/3/07 3:10 PM, Roberto Ierusalimschy at roberto@inf.puc-rio.br wrote:
> Claim 1: We lied: nils are not first-class values (because we cannot
> store them in talbes...).
This is also a problem when trying to use one table to shadow another via
__index. You can't override a value with nil. Even with functions for
__index and __newindex, it's a lot more complicated than one would like.
I'm not proposing a fix.
Mark