lua-users home
lua-l archive

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


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