lua-users home
lua-l archive

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




On Mar 16, 2018 4:05 PM, "Sean Conner" <sean@conman.org> wrote:

  The problem of "storing" nils in tables deals exclusively with sequences.

No, it also affects serialization and integration. The whole reason this came up is because sometimes you need to distinguish between "present and no value" and "not present at all". Sequences are a very obvious (and very noisily discussed) case of this with additional implications, and you can work around some of the remainder with a singleton NULL={}, but it's not ideal.

/s/ Adam