Module

Dispatcher

Package
purescript-dispatcher-react
Repository
doolse/purescript-dispatcher-react

#effEval Source

effEval :: forall eff context a. (a -> ReaderT context (Eff eff) Unit) -> a -> ReaderT context (Eff eff) Unit

#Dispatchable Source

class Dispatchable eval context action result | eval -> context where

Members

  • dispatch :: eval -> context -> action -> result

Instances

#FromContext Source

class FromContext eval context a m (eff :: Row Effect) | eval context a m -> eff where

Members

Instances

#DispatchEff Source

newtype DispatchEff action

Constructors

Instances

#DispatchAff Source

newtype DispatchAff action

Constructors

Instances

#DispatchEffFn Source

newtype DispatchEffFn action

Constructors

Instances

#DispatchEffFn2 Source

newtype DispatchEffFn2 action

Constructors

Instances

#DispatchEffFn3 Source

newtype DispatchEffFn3 action

Constructors

Instances

#Context Source

newtype Context a

Constructors

Instances