monad-parallel 0.7.1.3 → 0.7.1.4
raw patch · 2 files changed
+5/−5 lines, 2 filesdep ~transformers-compatPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: transformers-compat
API changes (from Hackage documentation)
Files
- Test/TestParallel.hs +3/−3
- monad-parallel.cabal +2/−2
Test/TestParallel.hs view
@@ -22,7 +22,7 @@ import Control.Monad (liftM) import Control.Monad.Trans.Identity (IdentityT(..)) import Control.Monad.Trans.Maybe (MaybeT(..))-import Control.Monad.Trans.Error (ErrorT(..))+import Control.Monad.Trans.Except (ExceptT(..), runExceptT) import Control.Monad.Trans.List (ListT(..)) import Control.Monad.Trans.Reader (ReaderT(..)) import Control.Parallel (pseq)@@ -82,9 +82,9 @@ $ task (read threads) (read size) "MaybeT-IO" -> liftM fromJust $ runMaybeT $ task (read threads) (read size)- "ErrorT-[]" -> return $ (either error id) $ head $ runErrorT+ "ErrorT-[]" -> return $ (either error id) $ head $ runExceptT $ task (read threads) (read size)- "ErrorT-IO" -> liftM (either error id) $ runErrorT + "ErrorT-IO" -> liftM (either error id) $ runExceptT $ task (read threads) (read size) "->" -> return $ ($ 0) $ task (read threads) (read size) "[]" -> return $ head $ task (read threads) (read size)
monad-parallel.cabal view
@@ -1,5 +1,5 @@ Name: monad-parallel-Version: 0.7.1.3+Version: 0.7.1.4 Cabal-Version: >= 1.10 Build-Type: Simple Synopsis: Parallel execution of monadic computations@@ -23,7 +23,7 @@ Library Exposed-Modules: Control.Monad.Parallel- Build-Depends: base < 5, parallel, transformers >= 0.2 && < 0.5, transformers-compat >= 0.3 && < 0.4+ Build-Depends: base < 5, parallel, transformers >= 0.2 && < 0.5, transformers-compat >= 0.3 && < 0.5 GHC-prof-options: -auto-all if impl(ghc >= 7.0.0) default-language: Haskell2010