Hoogle Search
Within LTS Haskell 24.25 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapMaybe :: Interval k e => (a -> Maybe b) -> IntervalMap k a -> IntervalMap k bIntervalMap Data.IntervalMap.Generic.Lazy O(n). Map values and collect the Just results.
mapMaybeWithKey :: Interval k e => (k -> a -> Maybe b) -> IntervalMap k a -> IntervalMap k bIntervalMap Data.IntervalMap.Generic.Lazy O(n). Map keys/values and collect the Just results.
mapMaybe :: Interval k e => (a -> Maybe b) -> IntervalMap k a -> IntervalMap k bIntervalMap Data.IntervalMap.Generic.Strict O(n). Map values and collect the Just results.
mapMaybeWithKey :: Interval k e => (k -> a -> Maybe b) -> IntervalMap k a -> IntervalMap k bIntervalMap Data.IntervalMap.Generic.Strict O(n). Map keys/values and collect the Just results.
mapMaybe :: Interval k e => (a -> Maybe b) -> IntervalMap k a -> IntervalMap k bIntervalMap Data.IntervalMap.Lazy O(n). Map values and collect the Just results.
mapMaybeWithKey :: Interval k e => (k -> a -> Maybe b) -> IntervalMap k a -> IntervalMap k bIntervalMap Data.IntervalMap.Lazy O(n). Map keys/values and collect the Just results.
mapMaybe :: Interval k e => (a -> Maybe b) -> IntervalMap k a -> IntervalMap k bIntervalMap Data.IntervalMap.Strict O(n). Map values and collect the Just results.
mapMaybeWithKey :: Interval k e => (k -> a -> Maybe b) -> IntervalMap k a -> IntervalMap k bIntervalMap Data.IntervalMap.Strict O(n). Map keys/values and collect the Just results.
mapMonotonic :: (Interval k2 e, Ord k2) => (k1 -> k2) -> IntervalSet k1 -> IntervalSet k2IntervalMap Data.IntervalSet O(n). mapMonotonic f s == map f s, but works only when f is strictly monotonic. That is, for any values x and y, if x < y then f x < f y. The precondition is not checked.
mapMC :: Monad m => (a -> m b) -> ConduitT a b m ()classy-prelude-yesod ClassyPrelude.Yesod Apply a monadic transformation to all values in a stream. If you do not need the transformed values, and instead just want the monadic side-effects of running the action, see mapM_.