packages feed

monad-par 0.3.4 → 0.3.4.1

raw patch · 3 files changed

+13/−3 lines, 3 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

Control/Monad/Par/Scheds/Direct.hs view
@@ -60,6 +60,11 @@ import Prelude hiding (null) import qualified Prelude +#if __GLASGOW_HASKELL__ <= 700+import GHC.Conc (forkOnIO)+forkOn = forkOnIO+#endif+ -------------------------------------------------------------------------------- -- Configuration Toggles --------------------------------------------------------------------------------
monad-par.cabal view
@@ -1,5 +1,5 @@ Name:                monad-par-Version:             0.3.4+Version:             0.3.4.1 Synopsis:            A library for parallel programming based on a monad  @@ -18,6 +18,7 @@ --             *This* package is the original, core monad-par. --  0.3.1    : fix for ghc 7.6.1, expose Par.IO --  0.3.4    : switch to direct scheduler as default (only 1-level nesting allowed)+--  0.3.4.1  : fix build with GHC 7.0, and fix test  Description:   The 'Par' monad offers a simple API for parallel programming.  The
tests/ParTests.hs view
@@ -117,8 +117,12 @@ --      A B <pause> C D E --        --   This is only for the TRACE scheduler right now.-case_async_test1 :: IO ()-case_async_test1 = +--+-- This test is DISABLED because it fails unless you run with +RTS -N2+-- or greater.+--+disabled_case_async_test1 :: IO ()+disabled_case_async_test1 =   do x <- res      case (numCapabilities, words x) of        (1,["A","B","C",_,"D","E"])         -> return ()