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.

  1. mapReduce :: (Foldable t, Monoid a) => TaskGroup -> t (IO a) -> STM (Async a)

    async-pool Control.Concurrent.Async.Pool

    Given a list of actions yielding Monoid results, execute the actions concurrently (up to N at a time, based on available slots), and mappend each pair of results concurrently as they become ready. The immediate result of this function is an Async representing the final value. This is similar to the following: mconcat $ mapTasks n actions, except that intermediate results can be garbage collected as soon as they've been merged. Also, the value returned from this function is an Async which may be polled for the final result. Lastly, if an Exception occurs in any subtask, the final result will also yield an exception -- but not necessarily the first or last that was caught.

  2. mapTasks :: Traversable t => TaskGroup -> t (IO a) -> IO (t a)

    async-pool Control.Concurrent.Async.Pool

    Execute a group of tasks within the given task group, returning the results in order. The order of execution is random, but the results are returned in order.

  3. mapTasksE :: Traversable t => TaskGroup -> t (IO a) -> IO (t (Either SomeException a))

    async-pool Control.Concurrent.Async.Pool

    Execute a group of tasks within the given task group, returning the results in order as an Either type to represent exceptions from actions. The order of execution is random, but the results are returned in order.

  4. mapTasksE_ :: Traversable t => TaskGroup -> t (IO a) -> IO (t (Maybe SomeException))

    async-pool Control.Concurrent.Async.Pool

    Execute a group of tasks within the given task group, ignoring results, but returning a list of all exceptions.

  5. mapTasks_ :: Foldable t => TaskGroup -> t (IO a) -> IO ()

    async-pool Control.Concurrent.Async.Pool

    Execute a group of tasks within the given task group, ignoring results.

  6. mappendMultipartData :: MultipartData tag -> MultipartData tag -> MultipartData tag

    autodocodec-servant-multipart Autodocodec.Multipart

    No documentation available.

  7. mapBBDB :: (BBDB -> BBDB) -> [BBDBFile] -> [BBDBFile]

    bbdb Database.BBDB

    This and filterBBDB are the main functions you should use to manipulate a set of BBDB entries. You supply a function that applies a transformation on a BBDB record, and this function will apply that transformation to every BBDBEntry in a BBDB file. Sample usage:

    starCompanies = do
    b <- readBBDB "/home/henry/.bbdb"
    writeFile "/home/henry/.bbdb-new" $ asLisp . mapBBDB starCompany $ b
    where
    starCompany x = case (company x) of
    Nothing -> x
    Just y -> x { company = Just ("*" ++ y) }
    
    Prepend a star ("*") to each company field of a BBDB file and write the result out as a new bbdb file.

  8. mapWithKey :: (BKey -> a -> b) -> BDictMap a -> BDictMap b

    bencoding Data.BEncode.BDict

    O(n). Map a function over all keys/value pairs in the dictionary.

  9. mapHandle :: forall (e :: Effects) (es :: Effects) . (Handle h, e :> es) => h e -> h es

    bluefin Bluefin.Compound

    Used to create compound effects, i.e. handles that contain other handles.

  10. mappend' :: forall (n :: Natural) s (m :: Natural) . PokeKnownLen n s -> PokeKnownLen m s -> PokeKnownLen (n + m) s

    bytezap Bytezap.Poke.KnownLen

    No documentation available.

Page 333 of many | Previous | Next