packages feed

parallel 3.2.0.5 → 3.2.0.6

raw patch · 4 files changed

+18/−8 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Control/Parallel/Strategies.hs view
@@ -139,8 +139,10 @@     NFData   ) where +#if !MIN_VERSION_base(4,8,0) import Data.Traversable import Control.Applicative+#endif import Control.Parallel import Control.DeepSeq import Control.Monad
Control/Seq.hs view
@@ -1,24 +1,25 @@ {-# LANGUAGE BangPatterns #-}+{-# LANGUAGE CPP #-}  ----------------------------------------------------------------------------- -- | -- Module      :  Control.Parallel.SeqStrategies -- Copyright   :  (c) The University of Glasgow 2001-2009 -- License     :  BSD-style (see the file libraries/base/LICENSE)--- +-- -- Maintainer  :  libraries@haskell.org -- Stability   :  experimental -- Portability :  portable--- +-- -- Sequential strategies provide ways to compositionally specify -- the degree of evaluation of a data type between the extremes of -- no evaluation and full evaluation. -- Sequential strategies may be viewed as complimentary to the parallel -- ones (see module "Control.Parallel.Strategies").--- +--  module Control.Seq-       ( +       (          -- * The sequential strategy type          Strategy @@ -30,7 +31,7 @@        , r0               -- :: Strategy a        , rseq        , rdeepseq         -- :: NFData a => Strategy a-         +          -- * Sequential strategies for lists        , seqList          -- :: Strategy a -> Strategy [a]        , seqListN         -- :: Int -> Strategy a -> Strategy [a]@@ -57,9 +58,12 @@        , seqTuple9        ) where -import Prelude import Control.DeepSeq (NFData, deepseq)+#if MIN_VERSION_base(4,8,0)+import Data.Foldable (toList)+#else import Data.Foldable (Foldable, toList)+#endif import Data.Map (Map) import qualified Data.Map (toList) import Data.Ix (Ix)@@ -80,7 +84,7 @@ using :: a -> Strategy a -> a x `using` strat = strat x `seq` x --- | Evaluate a value using the given strategy. +-- | Evaluate a value using the given strategy. -- This is simply 'using' with arguments reversed. withStrategy :: Strategy a -> a -> a withStrategy = flip using
changelog.md view
@@ -1,5 +1,9 @@ # Changelog for [`parallel` package](http://hackage.haskell.org/package/parallel) +## 3.2.0.6  *Dec 2014*++  - Make `-Wall` message free for all supported `base` versions+ ## 3.2.0.5  *Dec 2014*    - Support `base-4.8.0.0`/`deepseq-1.4.0.0` (and thus GHC 7.10)
parallel.cabal view
@@ -1,5 +1,5 @@ name:           parallel-version:        3.2.0.5+version:        3.2.0.6 -- NOTE: Don't forget to update ./changelog.md license:        BSD3 license-file:   LICENSE