Control.Monad.Trans.State.Lazy

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