[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Empty? No. Array? No. Has? Yes.
- From: Pierre-Yves Gérardy <pygy79@...>
- Date: Wed, 3 Jul 2013 12:47:23 +0200
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