Control.Monad.State.Lazy

MonadState class

class MonadState s m

modify

gets

The State monad

type State s

runState

evalState

execState

mapState

withState

The StateT monad transformer

data StateT s m a

evalStateT

execStateT

mapStateT

withStateT

Examples