Crate transducers

Source
Expand description

Transducers, a transducer library for Rust.

TODO: Add some examples here.

Structs§

Filtering
The filtering transducer that passes through elements that satisfy a predicate.
Identity
The identity transducer.
Mapping
The mapping transducer that applies a function to every element.

Traits§

Transducer
An abstract tranformation/reduction of data.

Functions§

compose
Composes the functions f and g to the function f after g.
compose_trans
Creates a transducer that is the composition f after g.
reduce_iter
Applies the fold reduction operation on iter transformed by trans.
transduce
Transduces the iterator iter with the transducer trans.