Safe Haskell | None |
---|---|
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 | |
Monad m => Monad (ReaderC r m) Source # | |
Functor m => Functor (ReaderC r m) Source # | |
MonadFix m => MonadFix (ReaderC s m) Source # | |
Defined in Control.Carrier.Reader | |
MonadFail m => MonadFail (ReaderC r m) Source # | |
Defined in Control.Carrier.Reader | |
Applicative m => Applicative (ReaderC r 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 # | |
(Alternative m, Monad m) => MonadPlus (ReaderC r m) Source # | |
MonadUnliftIO m => MonadUnliftIO (ReaderC r m) Source # | |
Defined in Control.Carrier.Reader | |
Algebra sig m => Algebra (Reader r :+: sig) (ReaderC r m) Source # | |
Reader effect
module Control.Effect.Reader