Using chunks with Generator
Era Scarecrow via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Mar 14 05:30:13 PDT 2017
On Tuesday, 14 March 2017 at 10:00:24 UTC, Tetiana wrote:
> Build fails with the following error:
Just looking at the Documentation, Generator is an InputRange
and chunks requires a ForwardRange (able to use save
functionality).
So the API doesn't match up more or less.
https://dlang.org/phobos/std_concurrency.html#.Generator
https://dlang.org/phobos/std_range.html#chunks
More information about the Digitalmars-d-learn
mailing list