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.

  1. evalStateT :: Monad m => StateT s m a -> s -> m a

    mtl Control.Monad.State.Strict

    Evaluate a state computation with the given initial state and return the final value, discarding the final state.

  2. execState :: State s a -> s -> s

    mtl Control.Monad.State.Strict

    Evaluate a state computation with the given initial state and return the final state, discarding the final value.

  3. execStateT :: Monad m => StateT s m a -> s -> m s

    mtl Control.Monad.State.Strict

    Evaluate a state computation with the given initial state and return the final state, discarding the final value.

  4. mapState :: ((a, s) -> (b, s)) -> State s a -> State s b

    mtl Control.Monad.State.Strict

    Map both the return value and final state of a computation using the given function.

  5. mapStateT :: (m (a, s) -> n (b, s)) -> StateT s m a -> StateT s n b

    mtl Control.Monad.State.Strict

    Map both the return value and final state of a computation using the given function.

  6. runState :: State s a -> s -> (a, s)

    mtl Control.Monad.State.Strict

    Unwrap a state monad computation as a function. (The inverse of state.)

  7. runStateT :: StateT s m a -> s -> m (a, s)

    mtl Control.Monad.State.Strict

    No documentation available.

  8. withState :: (s -> s) -> State s a -> State s a

    mtl Control.Monad.State.Strict

    withState f m executes action m on a state modified by applying f.

  9. withStateT :: forall s (m :: Type -> Type) a . (s -> s) -> StateT s m a -> StateT s m a

    mtl Control.Monad.State.Strict

    withStateT f m executes action m on a state modified by applying f.

  10. type InternalState = IORef ReleaseMap

    resourcet Control.Monad.Trans.Resource

    The internal state held by a ResourceT transformer. Since 0.4.6

Page 13 of many | Previous | Next