between and among: worth Phobosization?

Francesco Cattoglio francesco.cattoglio at gmail.com
Tue Dec 17 07:22:53 PST 2013


On Monday, 16 December 2013 at 22:53:24 UTC, H. S. Teoh wrote:
>> What's wrong with having it implemented analogous to
>> std.random.uniform -- taking a bounds parameter which allows 
>> for
>> open and/or closed at either end, with the default being "[)" 
>> ... ?
>> 
>> By the way, I'd also like to see that open/closed-at-either-end
>> specialization extended to std.range.iota().
>
> Oooh, do I hear a volunteer for cleaning up iota? ;-)
>
> While you're at it, you might as well implement:
>
> 	https://d.puremagic.com/issues/show_bug.cgi?id=10762
>
> :-P
>
>
> T

Well, I might actually volunteer :)
Any pointer about implementing that enhancement? Can one just 
forgot about the different versions (one for integrals, one for 
floating points) and just implement the One True Iota?


More information about the Digitalmars-d mailing list