[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: about 'fail'
- From: Ahmed Charles <acharles@...>
- Date: Wed, 9 Oct 2019 21:58:26 +0000
On Oct 8, 2019, at 6:04 AM, Roberto Ierusalimschy <firstname.lastname@example.org> wrote:
>>> Any function where you have to distinguish between nil and false in the
>>> return value seems a very bad idea. The standard library always avoided
>>> that, and will continue to do so.
>>> -- Roberto
> You are right. This function is in Lua since version 1.0. It probably
> would have a different API today. (It also spoiled the generic for.)
> -- Roberto
What api would you prefer for next? And how did its current api spoil generic for? Thanks.