Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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
mapConcurrentlyBounded :: Traversable t => Int -> (a -> IO b) -> t a -> IO (t b)async-extra Control.Concurrent.Async.Extra Span a green thread for each task, but only execute N tasks concurrently.
mapConcurrentlyBounded_ :: Traversable t => Int -> (a -> IO ()) -> t a -> IO ()async-extra Control.Concurrent.Async.Extra Span a green thread for each task, but only execute N tasks concurrently. Ignore the result
-
async-extra Control.Concurrent.Async.Extra Split input into N chunks with equal length and work on each chunk in a dedicated green thread. Then merge results using provided merge function
mapConcurrentlyChunks_ :: Foldable t => Int -> (a -> IO ()) -> t a -> IO ()async-extra Control.Concurrent.Async.Extra Split input into N chunks with equal length and work on each chunk in a dedicated green thread. Ignore results
mapConcurrently :: Traversable t => TaskGroup -> (a -> IO b) -> t a -> IO (t b)async-pool Control.Concurrent.Async.Pool maps an IO-performing function over any Traversable data type, performing all the IO actions concurrently, and returning the original data structure with the arguments replaced by the results. For example, mapConcurrently works with lists:
pages <- mapConcurrently getURL ["url1", "url2", "url3"]
mapRace :: Foldable t => TaskGroup -> t (IO a) -> IO (Async a, Either SomeException a)async-pool Control.Concurrent.Async.Pool Execute a group of tasks, but return the first result or failure and cancel the remaining tasks.