summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBasVanDijk <>2017-06-05 14:13:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2017-06-05 14:13:00 (GMT)
commit1a16a9b96358b05bb2c7d2ade21bbf1a466ad11b (patch)
tree846a65db654bfb0fd5bf2af275daa34737a50394
parent6d78f77ce3827625339a905ccb0a0e6feb02cc4c (diff)
version 0.3.4.150.3.4.15
-rw-r--r--changelog3
-rw-r--r--scientific.cabal2
-rw-r--r--src/Data/Scientific.hs2
3 files changed, 5 insertions, 2 deletions
diff --git a/changelog b/changelog
index acad17f..1b1472b 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,6 @@
+0.3.4.15
+ * Fix build for base < 4.8.
+
0.3.4.14
* Some minor performance improvements.
diff --git a/scientific.cabal b/scientific.cabal
index 30e78fc..8f00b2e 100644
--- a/scientific.cabal
+++ b/scientific.cabal
@@ -1,5 +1,5 @@
name: scientific
-version: 0.3.4.14
+version: 0.3.4.15
synopsis: Numbers represented using scientific notation
description:
@Data.Scientific@ provides the number type 'Scientific'. Scientific numbers are
diff --git a/src/Data/Scientific.hs b/src/Data/Scientific.hs
index 0e282e9..a7c126e 100644
--- a/src/Data/Scientific.hs
+++ b/src/Data/Scientific.hs
@@ -104,7 +104,7 @@ import Data.Ratio ((%), numerator, denominator)
import Data.Typeable (Typeable)
import qualified Data.Vector as V
import qualified Data.Vector.Mutable as VM
-import Data.Word (Word8, Word16, Word32, Word64)
+import Data.Word (Word, Word8, Word16, Word32, Word64)
import Math.NumberTheory.Logarithms (integerLog10')
import qualified Numeric (floatToDigits)
import qualified Text.Read as Read