Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapKeys :: (Interval k2 e, Ord k2) => (k1 -> k2) -> IntervalMap k1 a -> IntervalMap k2 aIntervalMap Data.IntervalMap.Strict O(n log n). mapKeys f s is the map obtained by applying f to each key of s. The size of the result may be smaller if f maps two or more distinct keys to the same new key. In this case the value at the smallest of these keys is retained.
mapKeysMonotonic :: (Interval k2 e, Ord k2) => (k1 -> k2) -> IntervalMap k1 a -> IntervalMap k2 aIntervalMap Data.IntervalMap.Strict O(n). mapKeysMonotonic f s == mapKeys 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.
-
IntervalMap Data.IntervalMap.Strict O(n log n). mapKeysWith c f s is the map obtained by applying f to each key of s. The size of the result may be smaller if f maps two or more distinct keys to the same new key. In this case the associated values will be combined using c.
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.
mapWithKey :: (k -> a -> b) -> IntervalMap k a -> IntervalMap k bIntervalMap Data.IntervalMap.Strict O(n). Map a function over all values in the map.
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.
mappedText :: [(Text, a)] -> String aaeson-value-parser AesonValueParser No documentation available.
-
async-extra Control.Concurrent.Async.Extra Span green threads to perform N (batch size) tasks in one thread and merge results using provided merge function
mapConcurrentlyBatched_ :: Foldable t => Int -> (a -> IO ()) -> t a -> IO ()async-extra Control.Concurrent.Async.Extra Span green threads to perform N (batch size) tasks in one thread and ignore results