ยค putSP
Stream processor construction
Types
putSP :: b -> SP a b -> SP a b
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 :: b
- a message to prefix the output of
sp
with.
sp :: SP a b
- a stream processor.
Example
putSP 1 nullSP
See Also
SP, putsSP, getSP, nullSP.