Control.Monad.Trans.State.Strict

The State monad

type State s

The StateT monad transformer

data StateT s m a

State operations

Lifting other operations

Examples

State monads

Counting

Labelling trees