packages feed

scientific 0.3.3.2 → 0.3.3.3

raw patch · 3 files changed

+9/−5 lines, 3 filesdep ~basedep ~deepseq

Dependency ranges changed: base, deepseq

Files

changelog view
@@ -1,3 +1,6 @@+0.3.3.3+	* Add support for `deepseq-1.4`.+ 0.3.3.2 	* Fix parsing of empty digit string (#21). 
scientific.cabal view
@@ -1,5 +1,5 @@ name:                scientific-version:             0.3.3.2+version:             0.3.3.3 synopsis:            Numbers represented using scientific notation description:   @Data.Scientific@ provides a space efficient and arbitrary precision@@ -64,9 +64,9 @@   other-modules:       Math.NumberTheory.Logarithms   other-extensions:    DeriveDataTypeable, BangPatterns   ghc-options:         -Wall-  build-depends:       base        >= 4.3   && < 4.8+  build-depends:       base        >= 4.3   && < 4.9                      , ghc-prim-                     , deepseq     >= 1.3   && < 1.4+                     , deepseq     >= 1.3   && < 1.5                      , text        >= 0.8   && < 1.3                      , hashable    >= 1.1.2 && < 1.3                      , array       >= 0.1   && < 0.6
src/Data/Scientific.hs view
@@ -84,7 +84,7 @@ ----------------------------------------------------------------------  import           Control.Monad                (mplus)-import           Control.DeepSeq              (NFData)+import           Control.DeepSeq              (NFData(rnf)) import           Data.Array                   (Array, listArray, (!)) import           Data.Char                    (intToDigit, ord) import           Data.Data                    (Data)@@ -146,7 +146,8 @@ -- Instances ---------------------------------------------------------------------- -instance NFData Scientific+instance NFData Scientific where+    rnf (Scientific _ _) = ()  instance Hashable Scientific where     hashWithSalt salt = hashWithSalt salt . toRational