Module
Uncurried.RWSET
- Package
- purescript-uncurried-transformers
- Repository
- PureFunctor/purescript-uncurried-transformers
This module defines the reader-writer-state-error monad
transformer, RWSET
.
#RWSET Source
newtype RWSET :: Type -> Type -> Type -> Type -> (Type -> Type) -> Type -> Type
newtype RWSET r w s e m a
The reader-writer-state-error monad transformer, which combines the
functionality of ReaderT
, WriterT
, StateT
, and ExceptT
into
a single monad transformer.
Constructors
Instances
Functor (RWSET r w s e m)
(Monoid w) => Apply (RWSET r w s e m)
(Monoid w) => Applicative (RWSET r w s e m)
(Monoid w) => Alt (RWSET r w s e m)
(Monoid w) => Bind (RWSET r w s e m)
(Monoid w) => Monad (RWSET r w s e m)
(Monoid w) => MonadAsk r (RWSET r w s e m)
(Monoid w, MonadEffect m) => MonadEffect (RWSET r w s e m)
(Monoid w) => MonadError e (RWSET r w s e m)
(Monoid w) => MonadReader r (RWSET r w s e m)
(Monoid w) => MonadRec (RWSET r w s e m)
(Monoid w) => MonadState s (RWSET r w s e m)
(Monoid w) => MonadTell w (RWSET r w s e m)
(Monoid w) => MonadThrow e (RWSET r w s e m)
(Monoid w) => MonadTrans (RWSET r w s e)
(Monoid w) => MonadWriter w (RWSET r w s e m)
(Monoid w, Semigroup a) => Semigroup (RWSET r w s e m a)
(Monoid w, Monoid a) => Monoid (RWSET r w s e m a)
(Monoid w) => Lazy (RWSET r w s e m a)
#hoistRWSET Source
hoistRWSET :: forall r w s e m n a. (m ~> n) -> RWSET r w s e m a -> RWSET r w s e n a
Modifies the monadic context of a RWSET
.