A monad abstraction that can be used to build up a chain of
transformations of state. An input state can then be passed
through the pipeline with the run method.
The state is queried for success via the trait StageResult.
If the state does not report as success after executing a stage,
the rest of the pipeline is bypassed.
A monad abstraction that can be used to build up a chain of transformations of state. An input state can then be passed through the pipeline with the run method.
The state is queried for success via the trait StageResult.
If the state does not report as success after executing a stage, the rest of the pipeline is bypassed.
Code example
The type of the state to be threaded through pipeline stages.