Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipeline ¶
type Pipeline struct {
CallStack []PipelineFunc
}
Pipeline is a type alias for a lazy list of pipeline functions
func NewPipeline ¶
func NewPipeline() Pipeline
NewPipeline creats a new Pipeline with an empty call stack
func (Pipeline) AndThen ¶
func (p Pipeline) AndThen(f PipelineFunc) Pipeline
AndThen is a utility function that converts a PipelineFunc into a MonadicPipelineFunc before adding it to the execution list as part of the refactor to remove Either from pipeline processing.
type PipelineFunc ¶
PipelineFunc represents a pipelined function that uses multi-return instead of either.
Click to show internal directories.
Click to hide internal directories.