¤ putSP, putK, et al

Types

putSP :: a -> SP b a -> SP b a
putK :: KCommand a -> K b a -> K b a
putF :: a -> F b a -> F b a

Synopsis

putSP xs sp

data SP a b
type KCommand a = Message XCommand a
type FCommand a = Message TCommand a

Description

Stream processor output operation.

Input

input is sent to the argument stream processor

Output

the elements of xs followed by any output produced by sp

Arguments

xs :: a
a list of messages to prefix the output of sp with.
sp :: SP b a
a stream processor.

Example

 putSP 1 nullSP

See Also

getSP, nullSP.