Commits

Bryan O'Sullivan  committed ea18d65

Slap a hasty upper bound on scientific

  • Participants
  • Parent commits 4d071a5
  • Tags 0.7.0.4

Comments (0)

Files changed (2)

File Data/Aeson/Encode.hs

 
 import Data.Aeson.Types (Value(..))
 import Data.Monoid (mappend)
-import Data.Scientific (Scientific, coefficient, base10Exponent)
+import Data.Scientific (Scientific, coefficient, base10Exponent, scientificBuilder)
 import Data.Text.Lazy.Builder
 import Data.Text.Lazy.Builder.Int (decimal)
-import Data.Text.Lazy.Builder.Scientific (scientificBuilder)
 import Numeric (showHex)
 import qualified Data.HashMap.Strict as H
 import qualified Data.Text as T
     hashable >= 1.1.2.0,
     mtl,
     old-locale,
-    scientific >= 0.3,
+    scientific >= 0.2 && < 0.3,
     syb,
     template-haskell >= 2.4,
     time,