lua-users home
lua-l archive

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


On Wed, Jul 3, 2013 at 9:58 AM, steve donovan <steve.j.donovan@gmail.com> wrote:

> If Lua 5.3 introduced 'null' (however implemented - tho it would be nice if
> it evaluated as 'false') then we would have the usual lag where everyone had
> to port their modules, and in a few years everyone would use null.  In the
> meantime, compatibility libraries would appear.

SQL-like trinary logic could be emulated.
Add an `unknown` boolean type with false-ish semantics.

http://en.wikipedia.org/wiki/Three-valued_logic#Logics