[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Empty? No. Array? No. Has? Yes.
- From: Sean Conner <sean@...>
- Date: Wed, 3 Jul 2013 12:39:34 -0400
It was thus said that the Great Roberto Ierusalimschy once stated:
> > What people seem to be asking for is:
> >
> > Platonic essence Lua NeoLua
> > nothing nil empty [1]
> > nil nil nil
>
> How do you distinguish between these two cases?
>
> x = function() end
> y = function() return nothing end
Heh. I asked that very question in my followup to that post. So I guess
the question then becomes, what does it mean to return nothing?
-spc (My intent here is to get a discussion going about the semantic
meaning of "nothing" (or "empty" if you prefer) outside the context
of a table ... )