¤ xcommand, xcommandF, et al

Types

xcommand :: (FudgetIO c) => XCommand -> c a b -> c a b
xcommandF :: XCommand -> F a b -> F a b
xcommandK :: XCommand -> K a b -> K a b

Synopsis

xcommand xcommand sp1 sp2

Description

xcommand is a general function to call Xlib routines that do not return a result.

Arguments

xcommand :: XCommand
The X command to output.

arg

cont The fudget (or kernel) to continue with after the command has been output.

See Also

Calling Xlib routines with results: xrequest.

Doc

compEitherSP -+- compMsgSP

data Message a b = Low a | High b

Description

These combinators provide tagged parallel composition of stream processors The output streams from the individual stream processors are tagged and merged into a single stream. The input stream, which must be tagged, is split up and fed to the appropriate stream processor.

The below description is for compEitherSP. compMsgSP is the same, except that it uses the type Message instead of Either.

Input

Messages tagged Left and Right are sent to the left and right stream processors, respectively.

Output

Messages from the left and right stream processors are tagged Left and Right, respectively.

sp1 :: c a b
left stream processor
sp2 :: ??
right stream processor.

See Also

Untagged parallel composition: parSP.

The corresponding fudget combinator: >+<.

Serial composition: serCompSP.