Control.Monad.State.Strict

The State Monad

data State s a

evalState

execState

mapState

withState

The StateT Monad

data StateT s m a

evalStateT

execStateT

mapStateT

withStateT

Examples