[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua 5.3: functional version of // operator?
- From: Miles Bader <miles@...>
- Date: Mon, 08 Jul 2013 17:12:42 +0900
steve donovan <email@example.com> writes:
> On Mon, Jul 8, 2013 at 9:31 AM, Miles Bader <firstname.lastname@example.org> wrote:
>> Hmm, I think I'd prefer math.idiv... oO;
> Why not just check _VERSION, unless I'm missing a subtlety?
(1) doesn't work
(2) _VERSION checks are ugly/flaky anyway, I'd prefer feature checks
where possible (e.g. the way it checks whether math.ifloor is nil
Rena's version will "work" but it's gross...
Conservative, n. A statesman enamored of existing evils, as opposed to a
Liberal, who wants to replace them with new ones.