joiner: How to iterate over immutable ranges?

Bastiaan Veelo via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 15 14:15:51 PST 2016


On Monday, 15 February 2016 at 18:13:48 UTC, Ali Çehreli wrote:
> On 02/15/2016 06:25 AM, Bastiaan Veelo wrote:
>
> > I didn't even know about save... Its documentation is hidden 
> > quite
> > well, because I still cannot find it.
>
> Heh. :) It is a part of the ForwardRange interface (more 
> correctly, "concept"?). It looks like "the additional 
> capability that one can save one's current position with the 
> save primitive" under isForwardRange is its official 
> documentation:
>
>   http://dlang.org/phobos/std_range_primitives.html

Wow, thanks. I did search that page before, but that section 
didn't give an echo on my radar...


More information about the Digitalmars-d-learn mailing list