packages feed

scientific-notation 0.1.4.0 → 0.1.5.0

raw patch · 3 files changed

+8/−3 lines, 3 filesdep +word-compat

Dependencies added: word-compat

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for scientific-notation +## 0.1.5.0 -- 2022-07-15++* Support GHC 9.2.+ ## 0.1.4.0 -- 2022-03-16  * Add `fromWord8`, `fromWord16`, and `fromWord32`.
scientific-notation.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: scientific-notation-version: 0.1.4.0+version: 0.1.5.0 synopsis: Scientific notation intended for tokenization description:   This library provides a type used to represent a number in@@ -56,6 +56,7 @@     , text-short >=0.1.3     , primitive >=0.7.1     , bytestring >=0.10.12+    , word-compat >= 0.0.2   hs-source-dirs: src   ghc-options: -O2 -Wall   default-language: Haskell2010
src/Data/Number/Scientific.hs view
@@ -52,8 +52,8 @@  import Control.Monad.ST (runST) import GHC.Exts (Int#,Word#,Int(I#),(+#))-import GHC.Word (Word(W#),Word8(W8#),Word16(W16#),Word32(W32#),Word64(W64#))-import GHC.Int (Int64(I64#),Int32(I32#))+import GHC.Word.Compat+import GHC.Int.Compat import Data.Bytes.Builder (Builder) import Data.Bytes.Parser.Unsafe (Parser(..)) import Data.Fixed (Fixed(MkFixed),HasResolution)