parallel 1.0.0.0 → 1.0.0.1
raw patch · 2 files changed
+13/−4 lines, 2 filesnew-uploaderPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Control/Parallel/Strategies.hs +12/−3
- parallel.cabal +1/−1
Control/Parallel/Strategies.hs view
@@ -523,9 +523,18 @@ where rest = drop n xs --- | Parallel n-buffer function added for the revised version of the strategies--- paper. 'parBuffer' supersedes the older @fringeList@. It has the same--- semantics.+-- | Applies a strategy to the nth element of list when the head is demanded.+-- More precisely:+--+-- * semantics: @parBuffer n s = id :: [a] -> [a]@+--+-- * dynamic behaviour: evalutates the nth element of the list when the+-- head is demanded.+--+-- The idea is to provide a `rolling buffer' of length n.+--+-- 'parBuffer' has been added for the revised version of the strategies+-- paper and supersedes the older @fringeList@. parBuffer :: Int -> Strategy a -> [a] -> [a] parBuffer n s xs = return xs (start n xs)
parallel.cabal view
@@ -1,5 +1,5 @@ name: parallel-version: 1.0.0.0+version: 1.0.0.1 license: BSD3 license-file: LICENSE maintainer: libraries@haskell.org