runState
:: State a b -> a -> (b,a)
|
state
:: (a -> (b,a)) -> State a b
|
get
:: State a a
|
put
:: a -> State a ()
|
modify
:: (a -> a) -> State a ()
|
evalState
:: State a b -> a -> b
|
execState
:: State a b -> a -> a
|
Constructors:
State
:: (a -> (b,a)) -> State a b
|