list-fn 0.17.1

A generic lazy list
Documentation

list-fn

A generic lazy list. It's an immutable iterator with continuations.

The lazy list can be used as an immutable alternative to the standard Rust iterator.

Any List<End = Self> is an iterator. Any &mut Iterator is a List<End = Self>.

See also Generators.

Fundamental Operations

  • FlatScan. An order of items is important.
    • FilterScan
    • Scan
    • Fold
  • FlatMap. An order of items is not important.
    • Map
    • Filter
    • Flatten