Module

Halogen.Helix.Types

Package
purescript-halogen-helix
Repository
katsujukou/purescript-halogen-helix

#HelixContext Source

type HelixContext :: Type -> Type -> (Type -> Type) -> Typetype HelixContext state action m = { dispatch :: action -> m Unit, getState :: m state }

#HelixContext' Source

type HelixContext' :: Type -> Type -> (Type -> Type) -> Typetype HelixContext' s a m = HelixContext s a (HookM m)

#HelixMiddleware Source

type HelixMiddleware :: Type -> Type -> (Type -> Type) -> Typetype HelixMiddleware state action m = (HelixContext state action m) -> action -> (action -> m Unit) -> m Unit

#HelixMiddleware' Source

type HelixMiddleware' :: Type -> Type -> (Type -> Type) -> Typetype HelixMiddleware' s a m = HelixMiddleware s a (HookM m)