Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mrgRunStateT :: (Monad m, TryMerge m, Mergeable s, Mergeable a) => StateT s m a -> s -> m (a, s)grisette Grisette.Lib.Control.Monad.Trans.State.Strict runStateT with MergingStrategy knowledge propagation.
-
grisette Grisette.Lib.Control.Monad.Trans.State.Strict state with MergingStrategy knowledge propagation.
-
grisette Grisette.Lib.Control.Monad.Trans.State.Strict withStateT with MergingStrategy knowledge propagation.
type
HasState s (m :: Type -> Type) = Has StateT s mhas-transformers Control.Monad.Trans.Has.State No documentation available.
runStateT :: StateT s (m :: Type -> Type) a -> s -> m (a, s)has-transformers Control.Monad.Trans.Has.State No documentation available.
evalState :: forall s (es :: [Effect]) a . s -> FOEs es => Eff (State s ': es) a -> Eff es aheftia-effects Control.Monad.Hefty.State Interpret the State effect. Do not include the final state in the return value.
execState :: forall s (es :: [Effect]) a . FOEs es => s -> Eff (State s ': es) a -> Eff es sheftia-effects Control.Monad.Hefty.State Interpret the State effect. Do not include the final result in the return value.
handleState :: forall s (f :: Type -> Type) g ans x . State s f x -> s -> (s -> x -> g ans) -> g ansheftia-effects Control.Monad.Hefty.State A handler function for the State effect.
runState :: forall s (es :: [Effect]) a . FOEs es => s -> Eff (State s ': es) a -> Eff es (s, a)heftia-effects Control.Monad.Hefty.State Interpret the State effect.
-
heftia-effects Control.Monad.Hefty.State A naive but somewhat slower version of runState that does not use ad-hoc optimizations.