Module composite

Source
Expand description

The Composite trait to create disposable computations.

Structs§

AndThen
The monadic bind for the Composite computation.
Ap
The function application for the Composite computation.
CompositeBox
It represents the boxed Composite computation.
Cons
Allows constructing the Composite computation by the specified function.
Delay
Allows delaying the Composite computation by the specified function.
DisposableComposite
Computation that allows embedding Disposable actions.
Map
The functor for the Composite computation.
Return
Allows creating the Composite computation from a pure value.
Run
The run function for Composite computation.
Run_
Another version of the run function for Composite computation.
Sequence
The sequence of computations.
Sequence_
The sequence of computations with ignored result.
Trace
Trace the computation.
Zip
The zip of two Composite computations.

Traits§

Composite
The computation synchronized with the composite queue.
IntoComposite
Allows converting to Composite computations.

Functions§

composite_sequence
Create a sequence of computations.
composite_sequence_
Create a sequence of computations, where the result is ignored.
cons_composite
Construct a new Composite computation by the specified function.
delay_composite
Delay the Composite computation.
disposable_composite
Allows embedding arbitrary Disposable actions in Composite computation.
return_composite
Return a new Composite computation by the specified pure value.
trace_composite
Trace the computation.