serCompSP, -==-

Types

serCompSP :: SP a b -> SP c a -> SP c b
-==- :: SP a b -> SP c a -> SP c b
infixr 8 -==-

Synopsis

serCompSP sp1 sp2

Description

serCompSP connects the output of one stream processor to the input of another stream processor, and can be seen as ordinary function composition adapted for stream processors.

Input

Any input is passed to the right stream processor.

Output

Any output comes from the left stream processor.

Arguments

sp1 :: SP a b
left stream processor
sp2 :: SP c a
right stream processor

See Also

Parallel composition of stream processors: compEitherSP, parSP.

The corresponding fudget combinator: >==<.