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. mapMaybeM :: Monad m => (a -> m (Maybe b)) -> Stream m a -> Stream m b

    streamly-core Streamly.Internal.Data.Stream

    Like mapMaybe but maps a monadic function. Equivalent to:

    >>> mapMaybeM f = Stream.catMaybes . Stream.mapM f
    
    >>> mapM f = Stream.mapMaybeM (\x -> Just <$> f x)
    

  2. mapM :: Monad m => (a -> m b) -> StreamK m a -> StreamK m b

    streamly-core Streamly.Internal.Data.StreamK

    No documentation available.

  3. mapMSerial :: Monad m => (a -> m b) -> StreamK m a -> StreamK m b

    streamly-core Streamly.Internal.Data.StreamK

    No documentation available.

  4. mapMWith :: (m b -> StreamK m b -> StreamK m b) -> (a -> m b) -> StreamK m a -> StreamK m b

    streamly-core Streamly.Internal.Data.StreamK

    No documentation available.

  5. mapM_ :: Monad m => (a -> m b) -> StreamK m a -> m ()

    streamly-core Streamly.Internal.Data.StreamK

    Apply a monadic action to each element of the stream and discard the output of the action.

  6. mapMaybe :: forall a b (m :: Type -> Type) . (a -> Maybe b) -> StreamK m a -> StreamK m b

    streamly-core Streamly.Internal.Data.StreamK

    No documentation available.

  7. map2 :: forall (m :: Type -> Type) a b c . Functor m => (a -> b -> c) -> Unfold m a b -> Unfold m a c

    streamly-core Streamly.Internal.Data.Unfold

    >>> map2 f = Unfold.mapM2 (\a b -> pure (f a b))
    
    Note that the seed may mutate (e.g. if the seed is a Handle or IORef) as stream is generated from it, so we need to be careful when reusing the seed while the stream is being generated from it.

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

    streamly-core Streamly.Internal.Data.Unfold

    Apply a monadic function to each element of the stream and replace it with the output of the resulting action.

    >>> mapM f = Unfold.mapM2 (const f)
    

  9. mapM2 :: Monad m => (a -> b -> m c) -> Unfold m a b -> Unfold m a c

    streamly-core Streamly.Internal.Data.Unfold

    No documentation available.

  10. mapMaybe :: (Arrow arrow, Functor f) => (a -> Maybe b) -> arrow (f [a]) (f [b])

    synthesizer-midi Synthesizer.MIDI.CausalIO.Process

    No documentation available.

Page 260 of many | Previous | Next