summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBasVanDijk <>2018-05-07 07:04:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2018-05-07 07:04:00 (GMT)
commit2f98bdae17ca4c896a955a5b0f5c2698c685e7ad (patch)
tree527e010f0394c3833f3eb80d265ecca19c239265
parentf6a0322dd85c259c8546f29356071ee0b1068661 (diff)
version 0.3.6.10.3.6.1
-rw-r--r--changelog3
-rw-r--r--scientific.cabal2
-rw-r--r--src/Data/Scientific.hs4
3 files changed, 8 insertions, 1 deletions
diff --git a/changelog b/changelog
index df8564b..5e122ff 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,6 @@
+0.3.6.1
+ * Fix build on GHC < 8.
+
0.3.6.0
* Make the methods of the Hashable, Eq and Ord instances safe to
use when applied to scientific numbers coming from untrusted
diff --git a/scientific.cabal b/scientific.cabal
index 35ee6e9..f36de98 100644
--- a/scientific.cabal
+++ b/scientific.cabal
@@ -1,5 +1,5 @@
name: scientific
-version: 0.3.6.0
+version: 0.3.6.1
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 6e6fb8f..e84691f 100644
--- a/src/Data/Scientific.hs
+++ b/src/Data/Scientific.hs
@@ -119,6 +119,10 @@ import qualified Text.ParserCombinators.ReadP as ReadP
import Text.ParserCombinators.ReadP ( ReadP )
import Data.Text.Lazy.Builder.RealFloat (FPFormat(..))
+#if !MIN_VERSION_base(4,9,0)
+import Control.Applicative ((*>))
+#endif
+
#if !MIN_VERSION_base(4,8,0)
import Data.Functor ((<$>))
import Data.Word (Word)