Module

Concur.Core.ElementBuilder

Package
purescript-concur-core
Repository
purescript-concur/purescript-concur-core

#ElementBuilder Source

class ElementBuilder :: forall k. Type -> (k -> Type) -> k -> Type -> Constraintclass ElementBuilder e f p v | v -> e, v -> f, v -> p where

A View backend that can build nodes e, f, p, v, are all raw types, highly specific to the backend e == type of element (e.g. 'div') f == props container (for example, an array) p == a single prop v == the monoidal view

Members

Instances

#Element Source

data Element :: forall k. Type -> (k -> Type) -> k -> Typedata Element e f p

A "Freeish" implementation of element builder That fixes the type of view

Constructors

Instances