[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Nil and false in Lua design
- From: Elias Barrionovo <elias.tandel@...>
- Date: Mon, 14 Oct 2013 16:09:34 -0300
On Mon, Oct 14, 2013 at 4:05 PM, Rena <hyperhacker@gmail.com> wrote:
> [1] Strictly speaking, return x if it's a table or something that can be
> converted to one (and apply said conversion) - just as all the other
> to<type> functions work. But there's no other type that can be converted to
> a table.
There's always a possibility for a __totable metamethod, which
*could*, perhaps, be useful for userdata (or for crazy black magic
with other types).
--
NI!
() - www.asciiribbon.org
/\ - ascii ribbon campaign against html e-mail and proprietary attachments
- References:
- Nil and false in Lua design, Alexander Gladysh
- Re: Nil and false in Lua design, Coda Highland
- Re: Nil and false in Lua design, Luiz Henrique de Figueiredo
- Re: Nil and false in Lua design, Thomas Jericke
- Re: Nil and false in Lua design, steve donovan
- Re: Nil and false in Lua design, Dirk Laurie
- Re: Nil and false in Lua design, Carsten Fuchs
- Re: Nil and false in Lua design, Thomas Jericke
- Re: Nil and false in Lua design, steve donovan
- Re: Nil and false in Lua design, Carsten Fuchs
- Re: Nil and false in Lua design, steve donovan
- Re: Nil and false in Lua design, Andrew Starks
- Re: Nil and false in Lua design, Rena