Sounds like an algorithm, not a range method. Seeking backwards with ranges seems weird though. Isn't one intrinsic property of ranges that they don't expand?
Sent from my iPhone On Jul 5, 2010, at 9:44 AM, Ellery Newcomer <[email protected]> wrote: > On 07/05/2010 11:14 AM, Michel Fortin wrote: >> Le 2010-07-05 à 1:37, Andrei Alexandrescu a écrit : >> >> >>> - The Seekable idea is good, I was thinking of it for a while. It expresses >>> a range that is not as cheap for random access as a random-access range, >>> but also that makes random seeking possible. What kind of algorithms could >>> use Seekable? >>> >> Well, you might want to skip over certain parts of a stream. >> > > like 'drop' > > _______________________________________________ > phobos mailing list > [email protected] > http://lists.puremagic.com/mailman/listinfo/phobos _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
