Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
heftia Control.Monad.Hefty Lifts a stateless handler into a algebraic handler.
-
heftia Control.Monad.Hefty.Interpret Lifts a stateless handler into a algebraic handler.
-
dunai Control.Monad.Trans.MSF.State Build an MSF in the State monad from one that takes the state as an extra input. This is the opposite of runStateS.
stateRef :: forall (m :: Type -> Type) s . Monad m => Ref (StateT s m) smonadology Control.Monad.Ology.Data.Ref No documentation available.
-
monadology Control.Monad.Ology.Specific.ContT No documentation available.
-
transformers Control.Monad.Trans.Accum Convert an accumulation (append-only) computation into a fully stateful computation.
evalState :: State s a -> s -> atransformers Control.Monad.Trans.State.Lazy Evaluate a state computation with the given initial state and return the final value, discarding the final state.
evalStateT :: Monad m => StateT s m a -> s -> m atransformers Control.Monad.Trans.State.Lazy Evaluate a state computation with the given initial state and return the final value, discarding the final state.
evalStateT m s = liftM fst (runStateT m s)
execState :: State s a -> s -> stransformers Control.Monad.Trans.State.Lazy Evaluate a state computation with the given initial state and return the final state, discarding the final value.
execStateT :: Monad m => StateT s m a -> s -> m stransformers Control.Monad.Trans.State.Lazy Evaluate a state computation with the given initial state and return the final state, discarding the final value.
execStateT m s = liftM snd (runStateT m s)