Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
evalStateStackT :: Monad m => StateStackT s m a -> s -> m astatestack Control.Monad.StateStack Like runStateStackT, but discard the final state.
execStateStack :: StateStack s a -> s -> sstatestack Control.Monad.StateStack Like runStateStack, but discard the return value and yield only the final state.
execStateStackT :: Monad m => StateStackT s m a -> s -> m sstatestack Control.Monad.StateStack Like runStateStackT, but discard the return value and yield only the final state.
liftState :: forall (m :: Type -> Type) s a . Monad m => StateT s m a -> StateStackT s m astatestack Control.Monad.StateStack StateT computations can always be lifted to StateStackT computations which do not manipulate the state stack.
runStateStack :: StateStack s a -> s -> (a, s)statestack Control.Monad.StateStack Run a StateStack computation from an initial state, resulting in a pair of the final return value and final state.
runStateStackT :: Monad m => StateStackT s m a -> s -> m (a, s)statestack Control.Monad.StateStack Run a StateStackT computation from an initial state, resulting in a computation of the underlying monad which yields the return value and final state.
unStateStackT :: StateStackT s (m :: Type -> Type) a -> StateT (s, [s]) m astatestack Control.Monad.StateStack No documentation available.
getMaskingState :: MonadConc m => m MaskingStateconcurrency Control.Monad.Conc.Class Return the MaskingState for the current thread.
-
heftia Control.Monad.Hefty No documentation available.
-
heftia Control.Monad.Hefty No documentation available.