Introducing alid
Salih Dincer
salihdb at hotmail.com
Tue Sep 13 07:57:01 UTC 2022
On Tuesday, 13 September 2022 at 07:25:18 UTC, SDB at 79 wrote:
>
> Is it the same with the new D versions?
Now I replaced the cycle() to the leftward and tried it with the
current version. It works great!
```d
0.iota!double(1,.1).cycle.cached.take(30).writeln;
// [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0, 0.1, 0.2,
0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0, 0.1, 0.2, 0.3, 0.4, 0.5,
0.6, 0.7, 0.8, 0.9]
```
Surely it's a useless implementation for cycle() I guess?
SDB at 79
More information about the Digitalmars-d-announce
mailing list