Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
module Control.Monad.Trans.Reader
readerS :: Monad m => Automaton m (r, a) b -> Automaton (ReaderT r m) a b Source #
Convert an explicit Automaton
input into an environment in the ReaderT
monad transformer.
This is the opposite of runReaderS
.