lua-users home
lua-l archive

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


On Fri, Oct 11, 2013 at 11:58 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> I can't imagine a system in which nil ISN'T falsy...
>
> In the HOPL paper we say that, if things were different, using nil
> in a logical expression should probably raise an error, just like in
> arithmetic expressions.
>

Fair enough, I can imagine nil being NaNish instead of falsy.

/s/ Adam