arithmoi 0.2.0.0 → 0.2.0.1
raw patch · 4 files changed
+5/−6 lines, 4 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Math/NumberTheory/Primes/Counting/Impl.hs +1/−1
- Math/NumberTheory/Primes/Sieve/Eratosthenes.hs +2/−3
- Math/NumberTheory/Utils.hs +1/−1
- arithmoi.cabal +1/−1
Math/NumberTheory/Primes/Counting/Impl.hs view
@@ -25,7 +25,7 @@ import Math.NumberTheory.Logarithms import Data.Array.Base-import Data.Array.ST+import Data.Array.ST hiding (unsafeThaw) import Control.Monad.ST import Data.Bits import Data.Int
Math/NumberTheory/Primes/Sieve/Eratosthenes.hs view
@@ -35,9 +35,8 @@ #include "MachDeps.h" import Control.Monad.ST-import Data.Array.Base (unsafeRead, unsafeWrite, unsafeAt, unsafeNewArray_)-import Data.Array.ST-import Data.Array.Unboxed+import Data.Array.Base+import Data.Array.ST hiding (unsafeFreeze, unsafeThaw, castSTUArray) import Control.Monad (when) import Data.Bits import Data.Word
Math/NumberTheory/Utils.hs view
@@ -155,7 +155,7 @@ -- | Number of 1-bits in an @'Int'@. bitCountInt :: Int -> Int #if __GLASGOW_HASKELL__ >= 703-bitCountWord = popCount+bitCountInt = popCount -- should yield a machine instruction #else bitCountInt (I# i#) = bitCountWord (W# (int2Word# i#))
arithmoi.cabal view
@@ -1,5 +1,5 @@ name : arithmoi-version : 0.2.0.0+version : 0.2.0.1 cabal-version : >= 1.6 author : Daniel Fischer copyright : (c) 2011 Daniel Fischer