Re: [PATCH] dph-prim-par: use getNumCapabilities instead of numCapabilities

2011-11-22 Thread Ben Lippmeier
Ok thanks, I'll check it out. On 20/11/2011, at 1:33 PM, shelarcy wrote: > Hello, > > GHC 7.2.x or higher provides getNumCapabilities function, and numCapabilities > is implemented by unsafePerformIO + getNumCapabilities. > > > http://www.haskell.org/ghc/docs/7.2.2/html/libraries/base-4.4.1

[PATCH] dph-prim-par: use getNumCapabilities instead of numCapabilities

2011-11-19 Thread shelarcy
Hello, GHC 7.2.x or higher provides getNumCapabilities function, and numCapabilities is implemented by unsafePerformIO + getNumCapabilities. http://www.haskell.org/ghc/docs/7.2.2/html/libraries/base-4.4.1.0/GHC-Conc.html#v:numCapabilities http://www.haskell.org/ghc/docs/7.2.2/html/librarie