dynListF :: F (Int, DynFMsg a b) (Int, b) type DynFMsg a b = DynMsg a (F a b)
data DynMsg a b = DynCreate b | DynDestroy | DynMsg a
dynListF
allows fudgets to be created and destroyed dynamically.
(t,DynCreate f)
creates a new fudget f
with tag t
.
(t,DynMsg x)
sends x
to an existing fudget tagged t
.
(t,DynDestroy)
destroys the fudget with tag t
.
(t,x)
is output if the fudget tagged t
outputs x
.