packages feed

parallel 1.0.0.1 → 1.1.0.0

raw patch · 3 files changed

+6/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Control/Parallel.hs view
@@ -24,6 +24,8 @@  #ifdef __GLASGOW_HASKELL__ import qualified GHC.Conc	( par, pseq )++infixr 0 `par`, `pseq` #endif  #if defined(__GRANSIM__)
Control/Parallel/Strategies.hs view
@@ -80,6 +80,8 @@ infixl 6 $||, $|            -- strategic function application (seq and par) infixl 9 .|, .||, -|, -||   -- strategic (inverse) function composition +infixl 0 `seq`+ -- We need 'pseq', not the Prelude 'seq' here.  See the documentation -- with 'pseq' in Control.Parallel. seq = Parallel.pseq@@ -508,6 +510,7 @@ seqList strat (x:xs) = strat x `seq` (seqList strat xs)  -- | Sequentially applies a strategy to the first n elements of a list.+{-# SPECIALISE seqListN :: Int -> Strategy b -> Strategy [b] #-} seqListN :: (Integral a) => a -> Strategy b -> Strategy [b] seqListN n strat []     = () seqListN 0 strat xs     = ()
parallel.cabal view
@@ -1,5 +1,5 @@ name:		parallel-version:	1.0.0.1+version:	1.1.0.0 license:	BSD3 license-file:	LICENSE maintainer:	libraries@haskell.org