Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ReaderIO e a = ReaderIO {
- runReaderIO :: e -> IO a
Documentation
An approximate clone of RIO
from the rio
package, but not based on
ReaderT
. The trouble with ReaderT
is that its third type argument has a
nominal
role, so we can't coerce through it when it's wrapped in some
other data
type. Ugh.
ReaderIO | |
|
Instances
MonadReader e (ReaderIO e) Source # | |
Monad (ReaderIO e) Source # | |
Functor (ReaderIO e) Source # | |
MonadFix (ReaderIO e) Source # | |
Defined in Control.Monad.ReaderIO | |
Applicative (ReaderIO e) Source # | |
Defined in Control.Monad.ReaderIO | |
MonadIO (ReaderIO e) Source # | |
Defined in Control.Monad.ReaderIO |