Safe Haskell | None |
---|---|
Language | Haskell2010 |
The Reader monad
class Monad m => MonadReader r m | m -> r where Source #
MonadReader r m => MonadReader r (Free m) Source # | |
MonadReader r m => MonadReader r (TreeT m) Source # | |
MonadReader r m => MonadReader r (MaybeT m) Source # | |
MonadReader r m => MonadReader r (StrictT m) Source # | |
MonadReader r m => MonadReader r (LogicT m) Source # | |
(Traversable f, Monad f, MonadReader r g) => MonadReader r (Compose' f g) Source # | |
Monad m => MonadReader r (ReaderT r m) Source # | |
MonadReader r m => MonadReader r (StateT s m) Source # | |
(Monoid w, MonadReader r m) => MonadReader r (WriterT w m) Source # | |
(Monad m, Monoid w) => MonadReader r (RWST r w s m) Source # | |
A simple Reader monad
readerT :: (Functor m, Functor m') => Iso (ReaderT r m a) (ReaderT r' m' b) (r -> m a) (r' -> m' b) Source #
Orphan instances
MonadReader r ((->) r) Source # | |