Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
GHC.Utils.Monad.State.Strict
Contents
Description
A state monad which is strict in its state.
The State monad
A state monad which is strict in the state s
, but lazy in the value a
.
See Note [Strict State monad] for the particular notion of strictness and implementation details.
Instances
Applicative (State s) # | |
Defined in GHC.Utils.Monad.State.Strict | |
Functor (State s) # | |
Monad (State s) # | |