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. mapException :: (Exception e1, Exception e2) => (e1 -> e2) -> a -> a

    lifted-base Control.Exception.Lifted

    This function maps one exception into another as proposed in the paper "A semantics for imprecise exceptions".

  2. mapItems :: (Item a -> Item b) -> SpecWith a -> SpecWith b

    hspec-core Test.Hspec.Core.Extension.Spec

    No documentation available.

  3. mapItems :: (Item () -> Item ()) -> [SpecTree] -> [SpecTree]

    hspec-core Test.Hspec.Core.Extension.Tree

    No documentation available.

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

    hspec-core Test.Hspec.Core.Hooks

    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.

  5. mapSpecForest :: ([SpecTree a] -> [SpecTree b]) -> SpecM a r -> SpecM b r

    hspec-core Test.Hspec.Core.Spec

    No documentation available.

  6. mapSpecItem :: (ActionWith a -> ActionWith b) -> (Item a -> Item b) -> SpecWith a -> SpecWith b

    hspec-core Test.Hspec.Core.Spec

    Deprecated: Use mapSpecItem_ instead.

  7. mapSpecItem_ :: (Item a -> Item b) -> SpecWith a -> SpecWith b

    hspec-core Test.Hspec.Core.Spec

    No documentation available.

  8. mapFoldable :: forall (m :: Type -> Type) t a b r . (Functor m, Foldable t) => (a -> t b) -> Pipe a b m r

    pipes Pipes.Prelude

    Apply a function to all values flowing downstream, and forward each element of the result.

  9. mapM :: Monad m => (a -> m b) -> Pipe a b m r

    pipes Pipes.Prelude

    Apply a monadic function to all values flowing downstream

    mapM return = cat
    
    mapM (f >=> g) = mapM f >-> mapM g
    

  10. mapM_ :: Monad m => (a -> m ()) -> Consumer' a m r

    pipes Pipes.Prelude

    Consume all values using a monadic function

Page 151 of many | Previous | Next