Holumbus-Searchengine-1.2.1: A search and indexing engine.

Safe HaskellNone

Control.Monad.ReaderStateIO

Synopsis

Documentation

newtype ReaderStateIO env state res Source

reader state io monad implemented directly without any monad transformers

Constructors

RSIO (env -> state -> IO (res, state)) 

Instances

MonadReader env (ReaderStateIO env state) 
MonadState state (ReaderStateIO env state) 
Monad (ReaderStateIO env state) 
MonadIO (ReaderStateIO env state) 

modifyIO :: (state -> IO state) -> ReaderStateIO env state ()Source

runReaderStateIO :: ReaderStateIO env state res -> env -> state -> IO (res, state)Source