[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Numeric for loop with rationals
- From: Francisco Olarte <folarte@...>
- Date: Tue, 30 Jan 2018 09:58:49 +0100
On Tue, Jan 30, 2018 at 1:11 AM, Soni "They/Them" L. <fakedme@gmail.com> wrote:
...
> Also, rationals are still numbers. They're just not "Lua numbers" (objects
> with type(x) == "number"). Any language with operator overloading (e.g. C++)
> lets me have numeric for with rationals. Except Lua. (Python doesn't have
> numeric for at all so it doesn't count.)
C++ does not have numeric for, so it doesn't count either.
Francisco Olarte.