ยค F, Fudget, et al

The Fudget type

Types

data F hi ho = F (FSP hi ho)
instance StreamProcIO F
instance FudgetIO F

type Fudget a b = F a b

type FSP hi ho = SP (FEvent hi) (FCommand ho)

type TEvent = (Path, FResponse)

type TCommand = (Path, FRequest)

type FEvent a = Message TEvent a

type FCommand a = Message TCommand a

data SP a b = PutSP b (SP a b) | GetSP (a -> SP a b) | NullSP
data Message a b = Low a | High b

Description

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.