putSP

Stream processor output operation

Types

putSP :: a -> SP b a -> SP b a

Synopsis

putSP x sp

Description

Stream processor output operation.

Input

input is sent to the argument stream processor.

Output

the x followed by any output produced by sp.

Arguments

x :: a
a message to prefix the output of sp with.
sp :: SP b a
a stream processor.

Example

 putSP 1 nullSP

See Also

SP, putsSP, getSP, nullSP.