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
State (s -> Tuple a s)
Subscribe (EventSource f m) a
Lift (m a)
Halt String
GetSlots (List p -> a)
CheckSlot p (Boolean -> a)
ChildQuery p (Coyoneda g a)
Raise o a
Par (HalogenAp s f g p o m a)
Fork (Fork (HalogenM s f g p o m) a)
GetRef RefLabel (Maybe Foreign -> a)
Instances
#HalogenM Source
newtype HalogenM s (f :: Type -> Type) g p o m a
Constructors
Instances
Functor (HalogenM s f g p o m)
Apply (HalogenM s f g p o m)
Applicative (HalogenM s f g p o m)
Bind (HalogenM s f g p o m)
Monad (HalogenM s f g p o m)
(MonadEff eff m) => MonadEff eff (HalogenM s f g p o m)
(MonadAff eff m) => MonadAff eff (HalogenM s f g p o m)
Parallel (HalogenAp s f g p o m) (HalogenM s f g p o m)
MonadTrans (HalogenM s f g p o)
MonadRec (HalogenM s f g p o m)
MonadState s (HalogenM s f g p o m)
(MonadAsk r m) => MonadAsk r (HalogenM s f g p o m)
(MonadTell w m) => MonadTell w (HalogenM s f g p o m)
#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.
#mapChildQuery Source
mapChildQuery :: forall m o p g' g f s. (g ~> g') -> (HalogenM s f g p o m) ~> (HalogenM s f g' p o m)
- Modules
- Halogen
- Halogen.
Aff - Halogen.
Aff. Driver - Halogen.
Aff. Driver. Eval - Halogen.
Aff. Driver. State - Halogen.
Aff. Effects - Halogen.
Aff. Util - Halogen.
Component - Halogen.
Component. ChildPath - Halogen.
Component. Profunctor - Halogen.
Data. OrdBox - Halogen.
Data. Prism - Halogen.
HTML - Halogen.
HTML. Core - Halogen.
HTML. Elements - Halogen.
HTML. Elements. Keyed - Halogen.
HTML. Events - Halogen.
HTML. Properties - Halogen.
HTML. Properties. ARIA - Halogen.
Query - Halogen.
Query. EventSource - Halogen.
Query. ForkF - Halogen.
Query. HalogenM - Halogen.
Query. InputF - Halogen.
VDom. Driver