Module

Halogen.VDom.Machine

#Machine

type Machine a b = EffectFn1 a (Step a b)

#Step

data Step a b

Constructors

#extract

extract :: forall a b. Step a b -> b

Returns the output value of a Step.

#step

step :: forall a b. Step a b -> EffectFn1 a (Step a b)

Runs the next step.

#halt

halt :: forall a b. Step a b -> Effect Unit

Runs the finalizer associated with a Step

Modules