Processes

A transducer in itself describes a transformation between abstract sequences, but it is completely agnostic of the physical or temporal nature of that sequence. We call a process the mechanism that actually feeds data in and out out a transducer.

In this section, we describe several processes provided by the library. A few of them are processes for processing C++ iterator based sequences and ranges. Some, like reductor, may help implementing your own processes. For an example of a third-party library that implements its own transducible components, check the cursors module in Lager.

reduce

Warning

doxygenfunction: Cannot find file: /tmp/B.f68pfosl/BUILD/zug-0.1.1/doc/_doxygen/xml/index.xml

reduce_nested

Warning

doxygenfunction: Cannot find file: /tmp/B.f68pfosl/BUILD/zug-0.1.1/doc/_doxygen/xml/index.xml

transduce

Warning

doxygenfunction: Cannot find file: /tmp/B.f68pfosl/BUILD/zug-0.1.1/doc/_doxygen/xml/index.xml

run

Warning

doxygenfunction: Cannot find file: /tmp/B.f68pfosl/BUILD/zug-0.1.1/doc/_doxygen/xml/index.xml

into

Warning

doxygenfunction: Cannot find file: /tmp/B.f68pfosl/BUILD/zug-0.1.1/doc/_doxygen/xml/index.xml

Warning

doxygenfunction: Cannot find file: /tmp/B.f68pfosl/BUILD/zug-0.1.1/doc/_doxygen/xml/index.xml

sequence

Warning

doxygengroup: Cannot find file: /tmp/B.f68pfosl/BUILD/zug-0.1.1/doc/_doxygen/xml/index.xml

reductor

Reductors encapsulate a reducing function and its reduction state in a more object oriented interface. It can be useful when implementing your own processes that supports transducers.


Warning

doxygengroup: Cannot find file: /tmp/B.f68pfosl/BUILD/zug-0.1.1/doc/_doxygen/xml/index.xml

Warning

doxygenstruct: Cannot find file: /tmp/B.f68pfosl/BUILD/zug-0.1.1/doc/_doxygen/xml/index.xml