Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

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

    transformers Control.Monad.Trans.Writer.CPS

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

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

    transformers Control.Monad.Trans.Writer.CPS

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

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

    transformers Control.Monad.Trans.Writer.Lazy

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

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

    transformers Control.Monad.Trans.Writer.Lazy

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

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

    transformers Control.Monad.Trans.Writer.Strict

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

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

    transformers Control.Monad.Trans.Writer.Strict

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

  7. mapSize :: Testable prop => (Int -> Int) -> prop -> Property

    QuickCheck Test.QuickCheck

    Adjust the test case size for a property, by transforming it with the given function.

  8. mapSubject :: (b -> a) -> SpecWith a -> SpecWith b

    hspec Test.Hspec

    Modify the subject under test. Note that this resembles a contravariant functor on the first type parameter of SpecM. This is because the subject is passed inwards, as an argument to the spec item.

  9. mapCont :: (r -> r) -> Cont r a -> Cont r a

    mtl Control.Monad.Cont

    Apply a function to transform the result of a continuation-passing computation.

  10. mapError :: (MonadError e m, MonadError e' n) => (m (Either e a) -> n (Either e' b)) -> m a -> n b

    mtl Control.Monad.Error.Class

    MonadError analogue of the mapExceptT function. The computation is unwrapped, a function is applied to the Either, and the result is lifted into the second MonadError instance.

Page 66 of many | Previous | Next