Rust switches to external iteration

Jonathan M Davis jmdavisProg at gmx.com
Thu Jul 4 11:06:36 PDT 2013


On Thursday, July 04, 2013 19:28:29 w0rp wrote:
> I see yield as a tool only for when you only want to create input
> ranges easily. There is a definite value in the other range
> types, but yield is useful for when you just want to produce an
> input range quickly.

And given how useless pure input ranges are, I really don't see much value in 
that. About all they give you is the ability to iterate over a set of values 
once. The other range types are _far_ more powerful, and pure input ranges 
should be avoided as much as possible IMHO.

- Jonathan M Davis


More information about the Digitalmars-d mailing list