Module

Hyper.Middleware

Package
purescript-hyper
Repository
owickstrom/hyper

#Middleware Source

newtype Middleware m i o a

Constructors

Instances

#evalMiddleware Source

evalMiddleware :: forall a o i m. Functor m => Middleware m i o a -> i -> m o

#hoistMiddleware Source

hoistMiddleware :: forall a o i g f. (f ~> g) -> Middleware f i o a -> Middleware g i o a

#runMiddleware Source

runMiddleware :: forall a o i m. Middleware m i o a -> i -> m (Tuple a o)

#lift' Source

lift' :: forall a i m. Monad m => m a -> Middleware m i i a

Re-exports from Hyper.Middleware.QualifiedDo

#discard Source

discard :: forall m z y x b a. IxBind m => m x y a -> (a -> m y z b) -> m x z b

#bind Source

bind :: forall m z y x b a. IxBind m => m x y a -> (a -> m y z b) -> m x z b