Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. mapInsert :: IsMap f => Key f -> a -> f a -> f a

    streamly-core Streamly.Internal.Data.IsMap

    No documentation available.

  2. mapLookup :: IsMap f => Key f -> f a -> Maybe a

    streamly-core Streamly.Internal.Data.IsMap

    No documentation available.

  3. mapNull :: IsMap f => f a -> Bool

    streamly-core Streamly.Internal.Data.IsMap

    No documentation available.

  4. mapTraverseWithKey :: (IsMap f, Applicative t) => (Key f -> a -> t b) -> f a -> t (f b)

    streamly-core Streamly.Internal.Data.IsMap

    No documentation available.

  5. mapUnion :: IsMap f => f a -> f a -> f a

    streamly-core Streamly.Internal.Data.IsMap

    No documentation available.

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

    streamly-core Streamly.Internal.Data.Pipe

    Lift a monadic function to a Pipe.

  7. mapM :: Monad m => (a -> m b) -> Stream m a -> Stream m b

    streamly-core Streamly.Internal.Data.Stream

    >>> mapM f = Stream.sequence . fmap f
    
    Apply a monadic function to each element of the stream and replace it with the output of the resulting action.
    >>> s = Stream.fromList ["a", "b", "c"]
    
    >>> Stream.fold Fold.drain $ Stream.mapM putStr s
    abc
    

  8. mapM :: Monad m => (a -> m b) -> Stream m a -> Stream m b

    streamly-core Streamly.Internal.Data.Stream

    >>> mapM f = Stream.sequence . fmap f
    
    Apply a monadic function to each element of the stream and replace it with the output of the resulting action.
    >>> s = Stream.fromList ["a", "b", "c"]
    
    >>> Stream.fold Fold.drain $ Stream.mapM putStr s
    abc
    

  9. mapM_ :: Monad m => (a -> m b) -> Stream m a -> m ()

    streamly-core Streamly.Internal.Data.Stream

    Execute a monadic action for each element of the Stream

  10. mapMaybe :: forall (m :: Type -> Type) a b . Monad m => (a -> Maybe b) -> Stream m a -> Stream m b

    streamly-core Streamly.Internal.Data.Stream

    Map a Maybe returning function to a stream, filter out the Nothing elements, and return a stream of values extracted from Just. Equivalent to:

    >>> mapMaybe f = Stream.catMaybes . fmap f
    

Page 259 of many | Previous | Next