Module

Halogen.VDom.Types

#VDom

data VDom a w

The core virtual-dom tree type, where a is the type of attributes, and w is the type of "widgets". Widgets are machines that have complete control over the lifecycle of some DOM.Node.

The Grafted constructor and associated machinery enables bimap fusion using a Coyoneda-like encoding.

Constructors

Instances

#Graft

data Graft :: Type -> Type -> Type

Instances

#GraftX

data GraftX a a' w w'

Constructors

#graft

graft :: forall a a' w w'. GraftX a a' w w' -> Graft a' w'

#unGraft

unGraft :: forall a' w' r. (forall a w. GraftX a a' w w' -> r) -> Graft a' w' -> r

#runGraft

runGraft :: forall a' w'. Graft a' w' -> VDom a' w'

#ElemSpec

data ElemSpec a

Constructors

Instances

#ElemName

#Namespace

Modules