F, Fudget, et al

The Fudget type


data F a b = F (FSP a b)
  instance FudgetIO F
  instance StreamProcIO F
type Fudget a b = F a b
type FSP a b = SP (FEvent a) (FCommand b)
type TEvent = (Path, FResponse)
type TCommand = (Path, FRequest)
type FEvent a = Message TEvent a
type FCommand a = Message TCommand a

data SP a b
data Message a b = Low a | High b


A fudget is a stream processor with high level streams and low level streams. The high level streams are used for communication between fudgets within a program. The low level streams are for communication with the I/O system.

F hi ho is the Fudget type. hi is the type of high level input messages and ho is the type of high level output messages.

See Also

Abstract fudgets: absF, mapF, mapstateF.

Other atomic fudget constructors: windowF, ioF (normally not used directly by application progammers).

Fudget combinators: >+<, >==<, listF, loopF.

Stream processors: SP.

Fudget low level stream types: FRequest and FResponse.