On 2/12/11 5:02 AM, bearophile wrote:
Jonathan M Davis:

interval is slightly better, but as you mention, the step value muddles that
abstraction.

It's not muddled enough to make it worse than iota(). "iota" has nearly no 
relation with its purpose in Phobos.


genSequence is pretty much the only
thing that I've been able to think of that I like at all,

sequence(10,20,2) is another option, as long as "interval".

Taken, see std.range.sequence.

Andrei

Reply via email to