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.
mapMaybeWithKey :: (k -> v1 -> Maybe v2) -> InsOrdHashMap k v1 -> InsOrdHashMap k v2insert-ordered-containers Data.HashMap.Strict.InsOrd No documentation available.
mapM_ :: Monad m => (a -> m x) -> Stream (Of a) m r -> m rstreaming Streaming.Prelude Reduce a stream to its return value with a monadic action.
>>> S.mapM_ Prelude.print $ each [1..3] 1 2 3
>>> rest <- S.mapM_ Prelude.print $ S.splitAt 3 $ each [1..10] 1 2 3 >>> S.sum rest 49 :> ()
-
streaming Streaming.Prelude The mapMaybe function is a version of map which can throw out elements. In particular, the functional argument returns something of type Maybe b. If this is Nothing, no element is added on to the result Stream. If it is Just b, then b is included in the result Stream.
mapMaybeM :: Monad m => (a -> m (Maybe b)) -> Stream (Of a) m r -> Stream (Of b) m rstreaming Streaming.Prelude Map monadically over a stream, producing a new stream only containing the Just values.
mapMaybe :: Filterable f => (a -> Maybe b) -> f a -> f bwitherable Witherable Like mapMaybe.
mapM_ :: forall m a b (n :: Nat) . Monad m => (a -> m b) -> ListN n a -> m ()basement Basement.Sized.List Map each element of a List to a monadic action, evaluate these actions sequentially and ignore the results
mapM_ :: Monad m => (time -> m ()) -> (body -> m ()) -> T time body -> m ()event-list Data.EventList.Absolute.TimeBody No documentation available.
mapMaybe :: Num time => (body0 -> Maybe body1) -> T time body0 -> T time body1event-list Data.EventList.Absolute.TimeBody No documentation available.
mapM_ :: Monad m => (time -> m ()) -> (body -> m ()) -> T time body -> m ()event-list Data.EventList.Absolute.TimeTime No documentation available.
mapMaybe :: Num time => (body0 -> Maybe body1) -> T time body0 -> T time body1event-list Data.EventList.Absolute.TimeTime No documentation available.