Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

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

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

    hspec-core Test.Hspec.Core.Spec

    No documentation available.

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

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

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

    pipes Pipes.Prelude

    Consume all values using a monadic function

  5. mapMaybe :: forall (m :: Type -> Type) a b r . Functor m => (a -> Maybe b) -> Pipe a b m r

    pipes Pipes.Prelude

    (mapMaybe f) yields Just results of f. Basic laws:

    mapMaybe (f >=> g) = mapMaybe f >-> mapMaybe g
    
    mapMaybe (pure @Maybe . f) = mapMaybe (Just . f) = map f
    
    mapMaybe (const Nothing) = drain
    
    As a result of the second law,
    mapMaybe return = mapMaybe Just = cat
    

  6. mapComposeT :: forall f (g :: (Type -> Type) -> Type -> Type) (m :: Type -> Type) a p (q :: (Type -> Type) -> Type -> Type) (n :: Type -> Type) b . (f (g m) a -> p (q n) b) -> ComposeT f g m a -> ComposeT p q n b

    mmorph Control.Monad.Trans.Compose

    Transform the computation inside a ComposeT.

  7. mapAccum :: (a -> b -> (a, c)) -> a -> CharMap b -> (a, CharMap c)

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  8. mapAccumWithKey :: (a -> Key -> b -> (a, c)) -> a -> CharMap b -> (a, CharMap c)

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  9. mapEither :: (a -> Either b c) -> CharMap a -> (CharMap b, CharMap c)

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  10. mapEitherWithKey :: (Key -> a -> Either b c) -> CharMap a -> (CharMap b, CharMap c)

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

Page 112 of many | Previous | Next