Module
Pha.Update.Internal
- Package
- purescript-pha
- Repository
- gbagan/purescript-pha
#Update Source
newtype Update :: Type -> Type -> (Type -> Type) -> Type -> Type
newtype Update model msg m a
Constructors
Instances
Functor (Update model msg m)
Apply (Update model msg m)
Applicative (Update model state m)
Bind (Update model msg m)
Monad (Update model msg m)
MonadRec (Update model msg m)
MonadState model (Update model msg m)
MonadTrans (Update model msg)
(MonadEffect m) => MonadEffect (Update model msg m)
(MonadAff m) => MonadAff (Update model msg m)
(MonadAsk r m) => MonadAsk r (Update model msg m)
#subscribe Source
subscribe :: forall model msg m. Subscription msg -> Update model msg m SubscriptionId
#unsubscribe Source
unsubscribe :: forall model msg m. SubscriptionId -> Update model msg m Unit
#mapMessage Source
mapMessage :: forall model msg msg' m. (msg -> msg') -> (Update model msg m) ~> (Update model msg' m)