Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

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

    mtl Control.Monad.State.Lazy

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

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

    mtl Control.Monad.State.Lazy

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

  3. 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.

  4. 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.

  5. mapWriter :: (Monoid w, Monoid w') => ((a, w) -> (b, w')) -> Writer w a -> Writer w' b

    mtl Control.Monad.Writer.CPS

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

  6. mapWriterT :: (Monad n, Monoid w, Monoid w') => (m (a, w) -> n (b, w')) -> WriterT w m a -> WriterT w' n b

    mtl Control.Monad.Writer.CPS

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

  7. mapWriter :: ((a, w) -> (b, w')) -> Writer w a -> Writer w' b

    mtl Control.Monad.Writer.Lazy

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

  8. mapWriterT :: (m (a, w) -> n (b, w')) -> WriterT w m a -> WriterT w' n b

    mtl Control.Monad.Writer.Lazy

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

  9. mapWriter :: ((a, w) -> (b, w')) -> Writer w a -> Writer w' b

    mtl Control.Monad.Writer.Strict

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

  10. mapWriterT :: (m (a, w) -> n (b, w')) -> WriterT w m a -> WriterT w' n b

    mtl Control.Monad.Writer.Strict

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

Page 108 of many | Previous | Next