Module

Bolson.Core

Package
purescript-bolson
Repository
mikesol/purescript-bolson

#Element Source

newtype Element :: Type -> Row Type -> Type -> Typenewtype Element interpreter r payload

Constructors

#Child Source

data Child (logic :: Type) (obj :: Type)

Constructors

#DynamicChildren Source

newtype DynamicChildren logic obj

Constructors

#FixedChildren Source

newtype FixedChildren logic obj

Constructors

#EventfulElement Source

newtype EventfulElement logic obj

Constructors

#Scope Source

data Scope

Constructors

Instances

#PSR Source

type PSR :: Row Type -> Typetype PSR r = { parent :: Maybe String, raiseId :: String -> ST Global Unit, scope :: Scope | r }

#Entity Source

data Entity logic obj

Constructors

#fixed Source

fixed :: forall logic obj. Array (Entity logic obj) -> Entity logic obj

#dyn Source

dyn :: forall logic obj. Event (Event (Child logic obj)) -> Entity logic obj

#envy Source

envy :: forall logic obj. Event (Entity logic obj) -> Entity logic obj

#bussed Source

bussed :: forall logic obj a. ((a -> Effect Unit) -> Event a -> Entity logic obj) -> Entity logic obj

#vbussed Source

vbussed :: forall logic obj rbus bus push event. RowToList bus rbus => VBus rbus push event => Proxy (V bus) -> (Record push -> Record event -> Entity logic obj) -> Entity logic obj