[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: nil, err idiom (was Re: Quest: real world "Lua array with holes" usage)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 25 Jul 2016 08:08:13 -0300
> There is one such case in the standard library: 'require'. A module that
> loads successfully but returns nil, produces the return value "true".
Also pcall and xpcall.
- References:
- Quest: real world "Lua array with holes" usage, Rodrigo Azevedo
- Re: Quest: real world "Lua array with holes" usage, Roberto Ierusalimschy
- Re: Quest: real world "Lua array with holes" usage, Jorge
- Re: Quest: real world "Lua array with holes" usage, Hisham
- Re: Quest: real world "Lua array with holes" usage, Roberto Ierusalimschy
- The Undefined Country (was Re: Quest: real world "Lua array with holes" usage), Sean Conner
- Re: The Undefined Country (was Re: Quest: real world "Lua array with holes" usage), nobody
- Re: nil, err idiom (was Re: Quest: real world "Lua array with holes" usage), Michael Nelson
- Re: nil, err idiom (was Re: Quest: real world "Lua array with holes" usage), Dirk Laurie