Module

Halogen.Query.HalogenM

Package
purescript-halogen
Repository
slamdata/purescript-halogen

#HalogenF Source

data HalogenF s (f :: Type -> Type) g p o m a

The Halogen component algebra

Constructors

Instances

#HalogenAp Source

newtype HalogenAp s f g p o m a

Constructors

Instances

#HalogenM Source

newtype HalogenM s (f :: Type -> Type) g p o m a

Constructors

Instances

#halt Source

halt :: forall a m o p g f s. String -> HalogenM s f g p o m a

#mkQuery Source

mkQuery :: forall a m o p g f s. Eq p => p -> g a -> HalogenM s f g p o m a

#getSlots Source

getSlots :: forall m o p g f s. HalogenM s f g p o m (List p)

#checkSlot Source

checkSlot :: forall m o p g f s. p -> HalogenM s f g p o m Boolean

#getRef Source

getRef :: forall m o p g f s. RefLabel -> HalogenM s f g p o m (Maybe Foreign)

#subscribe Source

subscribe :: forall m o p g f s. EventSource f m -> HalogenM s f g p o m Unit

Provides a way of having a component subscribe to an EventSource from within an Eval function.

#raise Source

raise :: forall m o p g f s. o -> HalogenM s f g p o m Unit

Raises an output message for the component.

#hoist Source

hoist :: forall m' m o p g f s. Functor m' => (m ~> m') -> (HalogenM s f g p o m) ~> (HalogenM s f g p o m')