RFC on range design for D2
David Gileadi
foo at bar.com
Wed Sep 10 10:31:59 PDT 2008
Sergey Gromov wrote:
> If you draw a parallel between a range and a stack of paper, the shrink
> methods would probably be pop/snap... I'd also propose next() for
> moving the start and prev() for moving the end. It sounds a bit
> misleading but, on the other hand, it closely resembles forward and
> backward iteration with the opposite end of a range representing the
> iteration limit. Or maybe forward()/backward(), or fwd()/back()?
Perhaps reduce() instead of pop() for moving the end?
More information about the Digitalmars-d-announce
mailing list