ยค SP

The type of plain stream processors

Types

data SP a b = PutSP b (SP a b) | GetSP (a -> SP a b) | NullSP
instance Show b => Show (SP a b)
instance StreamProcIO SP

Description

SP is the type for stream processors.

SP i o is a stream processor which reads messages of type i from its input stream and writes messages of type o to its output stream.

See Also

Basic stream processor constructors: putSP, getSP, nullSP.

Derived stream processor constructors: mapSP, filterSP et al.

Stream processor combinators: compEitherSP, serCompSP, loopSP et al.

Fudgets: F.