std.range.iota enhancement: supporting more types (AKA issue 10762)

Francesco Cattoglio francesco.cattoglio at gmail.com
Wed Dec 25 06:30:45 PST 2013


On Wednesday, 25 December 2013 at 10:58:53 UTC, bearophile wrote:
> Probably directly addressed by issue 10762:
> [snip]
> But if you rewrite iota() also take in account the following:
> [snip again]
> An important enhancement:
>
> Optional "[]" syntax for std.range.iota too
Wow! That's a lot of stuff needing work. Now I understand why 
some people were waiting for a better iota :D
Everything seems reasonable, and the "[]" syntax could be a nice 
addition, too.
Shouldn't be that much difficult.

> (A less important enhancement is issue 11252).
On the other hand, I have honestly no idea whatsoever about how 
to implement this
>
> Bye,
> bearophile
I will probably start working a bit tomorrow, and I guess I will 
leave the current float specialization untouched, at least at the 
beginning. In the mean time, merry Christmas to everyone!


More information about the Digitalmars-d mailing list