dynF

Dynamic fudget creation/destruction

Types

dynF :: F a b -> F (Either (F a b) a) b

Synopsis

dynF initF

Description

dynF creates a fudget that can be replaced dynamically by sending a message to it.

Input

Left fud replaces the currently running fudget with fud. Right x passes x to the current fudget.

Output

comes from the currently running fudget.

Arguments

initF :: F a b
the fudget that determines the initial behaviour.

See Also

dynListF.