Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapMaybeM :: Monad m => (a -> m (Maybe b)) -> Stream m a -> Stream m bstreamly-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)
mapMSerial :: Monad m => (a -> m b) -> StreamK m a -> StreamK m bstreamly-core Streamly.Internal.Data.StreamK No documentation available.
mapMWith :: (m b -> StreamK m b -> StreamK m b) -> (a -> m b) -> StreamK m a -> StreamK m bstreamly-core Streamly.Internal.Data.StreamK No documentation available.
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.
mapMaybe :: forall a b (m :: Type -> Type) . (a -> Maybe b) -> StreamK m a -> StreamK m bstreamly-core Streamly.Internal.Data.StreamK No documentation available.
mapM2 :: Monad m => (a -> b -> m c) -> Unfold m a b -> Unfold m a cstreamly-core Streamly.Internal.Data.Unfold No documentation available.
mapMaybe :: (Arrow arrow, Functor f) => (a -> Maybe b) -> arrow (f [a]) (f [b])synthesizer-midi Synthesizer.MIDI.CausalIO.Process No documentation available.
mapM_ :: Monad m => (a -> m b) -> Stream m a -> m ()vector-stream Data.Stream.Monadic Execute a monadic action for each element of the Stream
mapMaybe :: forall (m :: Type -> Type) a b . Monad m => (a -> Maybe b) -> Stream m a -> Stream m bvector-stream Data.Stream.Monadic No documentation available.
mapMaybeM :: Monad m => (a -> m (Maybe b)) -> Stream m a -> Stream m bvector-stream Data.Stream.Monadic Apply monadic function to each element and drop all Nothings