scientific 0.3.6.0 → 0.3.6.1
raw patch · 3 files changed
+8/−1 lines, 3 filesdep ~base
Dependency ranges changed: base
Files
- changelog +3/−0
- scientific.cabal +1/−1
- src/Data/Scientific.hs +4/−0
changelog view
@@ -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
scientific.cabal view
@@ -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
src/Data/Scientific.hs view
@@ -119,6 +119,10 @@ 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)