scientific 0.3.4.1 → 0.3.4.2
raw patch · 4 files changed
+7/−9 lines, 4 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- changelog +4/−0
- scientific.cabal +1/−4
- src/Data/ByteString/Builder/Scientific.hs +2/−1
- src/Data/Scientific.hs +0/−4
changelog view
@@ -1,3 +1,7 @@+0.3.4.2+ * Fix build on GHC-7.4.+ Courtesy of Adam Bergmark..+ 0.3.4.1 * Fix build on GHC-7.0.4
scientific.cabal view
@@ -1,5 +1,5 @@ name: scientific-version: 0.3.4.1+version: 0.3.4.2 synopsis: Numbers represented using scientific notation description: @Data.Scientific@ provides the number type 'Scientific'. Scientific numbers are@@ -88,9 +88,6 @@ if flag(bytestring-builder) exposed-modules: Data.ByteString.Builder.Scientific build-depends: bytestring >= 0.10 && < 0.11-- if impl(ghc >= 7.2.1)- cpp-options: -DGENERICS test-suite test-scientific type: exitcode-stdio-1.0
src/Data/ByteString/Builder/Scientific.hs view
@@ -22,6 +22,8 @@ import Data.ByteString.Builder.Extra (byteStringCopy) #endif +import Utils (roundTo, i2d)+ #if !MIN_VERSION_base(4,8,0) import Data.Monoid (mempty) #endif@@ -35,7 +37,6 @@ infixr 6 <> #endif -import Utils (roundTo, i2d) -- | A @ByteString@ @Builder@ which renders a scientific number to full -- precision, using standard decimal notation for arguments whose
src/Data/Scientific.hs view
@@ -5,10 +5,6 @@ {-# LANGUAGE UnboxedTuples #-} {-# LANGUAGE PatternGuards #-} -#ifdef GENERICS-{-# LANGUAGE DeriveGeneric #-}-#endif- -- | -- Module : Data.Scientific -- Copyright : Bas van Dijk 2013