between and among: worth Phobosization?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Mon Dec 16 14:39:56 PST 2013


On 16/12/13 23:30, Andrei Alexandrescu wrote:
> I guess if we need several versions of between, we could give up on it.

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().


More information about the Digitalmars-d mailing list