Precursor.Control.State

MonadState class

class MonadState s m

modify

modify'

gets

The State monad

type State s

runState

evalState

execState

The StateT monad transformer

data StateT s m a

runStateT

evalStateT

execStateT

Examples