Safe Haskell | None |
---|---|
Language | Haskell2010 |
A carrier for Reader
effects.
Since: 1.0.0.0
Reader carrier
newtype ReaderC r (m :: Type -> Type) a Source #
Since: 1.0.0.0
ReaderC (r -> m a) |
Instances
MonadTrans (ReaderC r) 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 # | |
MonadFail m => MonadFail (ReaderC r m) Source # | |
Defined in Control.Carrier.Reader | |
MonadFix m => MonadFix (ReaderC s m) Source # | |
Defined in Control.Carrier.Reader | |
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