ยค serCompSP, -==-

Stream processor combinators

Types

serCompSP :: SP a1 b -> SP a2 a1 -> SP a2 b
-==- :: SP a1 b -> SP a2 a1 -> SP a2 b

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 a1 b
left stream processor
sp2 :: SP a2 a1
right stream processor

See Also

Parallel composition of stream processors: compEitherSP, parSP.

The corresponding fudget combinator: >==<.