Reference

std/iteration

Lazy pipelines: the two traits everything is pulled through, the stages between them, and the collectors that end one. The stage types themselves are not exported - map and filter answer an Iterate<Item>, and which type carries it is nobody's business.

Stage is the same middle piece written once for the pull side here and the push side of std/stream (see docs/design/STREAMS.md). It lives here and not there because it is synchronous and because what it turns into what is an Accumulator - both words of this package - which also keeps the dependency one-way.

Modules

Everything