Dataflow combinators

Factor handbook » The language » Combinators

Factor handbook » The language » Combinators

Prev: | Fundamental combinators |

Next: | Conditional combinators |

Dataflow combinators express common dataflow patterns such as performing a operation while preserving its inputs, applying multiple operations to a single value, applying a set of operations to a set of values, or applying a single operation to multiple values.

Preserving combinators

Cleave combinators

Spread combinators

Apply combinators

More intricate dataflow can be constructed by composing Curried dataflow combinators.

Preserving combinators

Cleave combinators

Spread combinators

Apply combinators

More intricate dataflow can be constructed by composing Curried dataflow combinators.