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

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sat Dec 28 08:30:11 PST 2013


On 28/12/13 17:10, Jakob Ovrum wrote:
> OK, so this has nothing to do with leap years, but that 5.days is an improper step.

Oh, I see -- you're assuming that iota has to be defined with start, end and 
step such that end = start + (n * step) for some integer n >= 0.

I can see the case for it, but to me it seems like a too restrictive requirement.


More information about the Digitalmars-d mailing list