Module
React.Redux.Middleware
- Package
- purescript-react-redux
- Repository
- ethul/purescript-react-redux
#MiddlewareAPI Source
type MiddlewareAPI eff state action = { dispatch :: Dispatch eff action action, getState :: Eff (ReduxEffect eff) state }
#Middleware Source
newtype Middleware eff state action a b
Constructors
Middleware (MiddlewareAPI eff state action -> Dispatch eff action a -> Dispatch eff action b)
Instances
Newtype (Middleware eff state action a b) _
Semigroupoid (Middleware eff state action)
Category (Middleware eff state action)
Functor (Middleware eff state action a)
Apply (Middleware eff state action a)
Applicative (Middleware eff state action a)
Bind (Middleware eff state action a)
Monad (Middleware eff state action a)
(Semigroup b) => Semigroup (Middleware eff state action a b)
(Monoid b) => Monoid (Middleware eff state action a b)