Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
A carrier for Reader
effects.
Since: 1.0.0.0
Synopsis
- runReader :: r -> ReaderC r m a -> m a
- newtype ReaderC r m a = ReaderC (r -> m a)
- module Control.Effect.Reader
Reader carrier
newtype ReaderC r m a Source #
Since: 1.0.0.0
ReaderC (r -> m a) |
Instances
MonadTrans (ReaderC r) Source # | |
Defined in Control.Carrier.Reader | |
MonadFail m => MonadFail (ReaderC r m) Source # | |
Defined in Control.Carrier.Reader | |
MonadFix m => MonadFix (ReaderC s m) Source # | |
Defined in Control.Carrier.Reader | |
MonadIO m => MonadIO (ReaderC r m) Source # | |
Defined in Control.Carrier.Reader | |
Alternative m => Alternative (ReaderC r m) Source # | |
Applicative m => Applicative (ReaderC r m) Source # | |
Defined in Control.Carrier.Reader | |
Functor m => Functor (ReaderC r m) Source # | |
Monad m => Monad (ReaderC r m) Source # | |
(Alternative m, Monad m) => MonadPlus (ReaderC r m) Source # | |
Algebra sig m => Algebra (Reader r :+: sig) (ReaderC r m) Source # | |
Reader effect
module Control.Effect.Reader