Reducing functions

As we say in the Design section, a transducer in itself is agnostic of any actual sequence. To use a transducer, you pass it a reducing function, to obtain a new reducing function that can then be used in a Processes.

output

constexpr output_t zug::output = {}

Reducing function that outputs through the iterator that is carried as state.

first

constexpr first_t zug::first = {}

Reducing function that always returns the initial state.

last

constexpr last_t zug::last = {}

Reducing function that produces the tuplification of the last inputs it received.

See
tuplify

emplacing_back

constexpr emplacing_back_t zug::emplacing_back = {}

Reducing function that emplaces back at the collection that is uses as state.