On 06/17/2013 09:36 PM, monarch_dodra wrote:
> Being able to *save* a random range (which your proposal would prevent) can 
> have
> useful applications too. It means you can iterate on the same random number
> sequence several times, lazily, without having to store the results in a 
> buffer.

If I recall right, there are a number of Phobos entities that make use of the
opportunity to .save -- some of std.algorithm, I think?  I'll browse the code
myself, but if anyone could point me to some explicit examples, it would be very
useful.

Reply via email to