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. class (Monoid w, MonadReader r m, MonadWriter w m, MonadState s m) => MonadRWS r w s (m :: Type -> Type) | m -> r, m -> w, m -> s

    mtl Control.Monad.RWS.Class

    No documentation available.

  2. evalRWS :: RWS r w s a -> r -> s -> (a, w)

    mtl Control.Monad.RWS.Lazy

    Evaluate a computation with the given initial state and environment, returning the final value and output, discarding the final state.

  3. evalRWST :: Monad m => RWST r w s m a -> r -> s -> m (a, w)

    mtl Control.Monad.RWS.Lazy

    Evaluate a computation with the given initial state and environment, returning the final value and output, discarding the final state.

  4. execRWS :: RWS r w s a -> r -> s -> (s, w)

    mtl Control.Monad.RWS.Lazy

    Evaluate a computation with the given initial state and environment, returning the final state and output, discarding the final value.

  5. execRWST :: Monad m => RWST r w s m a -> r -> s -> m (s, w)

    mtl Control.Monad.RWS.Lazy

    Evaluate a computation with the given initial state and environment, returning the final state and output, discarding the final value.

  6. mapRWS :: ((a, s, w) -> (b, s, w')) -> RWS r w s a -> RWS r w' s b

    mtl Control.Monad.RWS.Lazy

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

  7. mapRWST :: (m (a, s, w) -> n (b, s, w')) -> RWST r w s m a -> RWST r w' s n b

    mtl Control.Monad.RWS.Lazy

    Map the inner computation using the given function.

  8. runRWS :: RWS r w s a -> r -> s -> (a, s, w)

    mtl Control.Monad.RWS.Lazy

    Unwrap an RWS computation as a function. (The inverse of rws.)

  9. runRWST :: RWST r w s m a -> r -> s -> m (a, s, w)

    mtl Control.Monad.RWS.Lazy

    No documentation available.

  10. withRWS :: (r' -> s -> (r, s)) -> RWS r w s a -> RWS r' w s a

    mtl Control.Monad.RWS.Lazy

    withRWS f m executes action m with an initial environment and state modified by applying f.

Page 12 of many | Previous | Next