Control.Monad.Trans.State (original) (raw)

State monads, passing an updatable state through a computation.

Some computations may not require the full power of state transformers:

This version is lazy; for a strict version, seeControl.Monad.Trans.State.Strict, which has the same interface.