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 | |
|