ConcurrentUtils-0.5.0.0: Concurrent utilities
Control.CUtils.AssociativeFold
assocFold :: forall t. Pool -> (t -> t -> IO t) -> Int -> (Int -> t) -> IO t Source #
Concurrent evaluation of an associative fold. The caller is responsible for introducing appropriate strictness for the results in the second argument.
assocFold_pattern :: Pool -> (t -> t -> IO t) -> Int -> (Int -> IO t) -> IO t Source #
Pattern which is a simple wrapper around assocFold.
assocFold