Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Control.Monad.Trans.Has.
State No documentation available.
module Control.Monad.Hefty.
State Interpreter for the State effect.
module Control.Monad.Trans.Memo.
State Defines MemoStateT - generalized (to any Data.MapLike content) memoization monad transformer
type
State s = StateT s Identitymonadology Control.Monad.Ology.Specific.StateT A state monad parameterized by the type s of the state to carry. The return function leaves the state unchanged, while >>= uses the final state of the first computation as the initial state of the second.
type
State s = StateT s Identityrev-state Control.Monad.RevState No documentation available.
type
State s = StateT s Identityrev-state Control.Monad.Trans.RevState No documentation available.
module Control.Monad.Trans.Indexed.
State The state indexed monad transformer.
state :: forall (m :: Type -> Type) s a r w . Monad m => (s -> (a, s)) -> RWST r w s m atransformers Control.Monad.Trans.RWS.CPS Construct a state monad computation from a state transformer function.
state :: forall w (m :: Type -> Type) s a r . (Monoid w, Monad m) => (s -> (a, s)) -> RWST r w s m atransformers Control.Monad.Trans.RWS.Lazy Construct a state monad computation from a state transformer function.
state :: forall w (m :: Type -> Type) s a r . (Monoid w, Monad m) => (s -> (a, s)) -> RWST r w s m atransformers Control.Monad.Trans.RWS.Strict Construct a state monad computation from a state transformer function.