wide-word 0.1.0.0 → 0.1.0.1
raw patch · 3 files changed
+10/−14 lines, 3 files
Files
- ChangeLog.md +4/−0
- Data/WideWord/Int128.hs +2/−12
- wide-word.cabal +4/−2
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for wide-word +## 0.1.0.1 -- 2017-01-29++* Int128: Fix flakey rewrite rules.+ ## 0.1.0.0 -- 2017-01-06 * First version. Released on an unsuspecting world.
Data/WideWord/Int128.hs view
@@ -143,18 +143,8 @@ {-# RULES "fromIntegral :: Int128 -> Int128" fromIntegral = id :: Int128 -> Int128- #-}--{-# RULES-"fromIntegral :: Int -> Int128" fromIntegral = \(I# i#) -> Int128 (W64# 0##) (W64# (int2Word# i#))-"fromIntegral :: Word- > Int128" fromIntegral = Int128 0 . fromIntegral-"fromIntegral :: Word32 -> Int128" fromIntegral = Int128 0 . fromIntegral-"fromIntegral :: Word64 -> Int128" fromIntegral = Int128 0--"fromIntegral :: Int128 -> Int" fromIntegral = \(Int128 _ w) -> fromIntegral w-"fromIntegral :: Int128 -> Word" fromIntegral = \(Int128 _ w) -> fromIntegral w-"fromIntegral :: Int128 -> Word32" fromIntegral = \(Int128 _ w) -> fromIntegral w-"fromIntegral :: Int128 -> Word64" fromIntegral = \(Int128 _ w) -> w+"fromIntegral :: Word128 -> Int128" fromIntegral = \(Word128 a1 a0) -> Int128 a1 a0+"fromIntegral :: Int128 -> Word128" fromIntegral = \(Int128 a1 a0) -> Word128 a1 a0 #-} -- -----------------------------------------------------------------------------
wide-word.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: wide-word-version: 0.1.0.0+version: 0.1.0.1 synopsis: Data types for large but fixed width signed and unsigned integers description: A library to provide data types for large (ie > 64 bits) but fixed width signed@@ -13,6 +13,7 @@ annotations, `INLINEABLE` pragmas and unboxed values and operations where appropriate. homepage: https://github.com/erikd/wide-word+bug-reports: https://github.com/erikd/wide-word/issues/ license: BSD2 license-file: LICENSE author: Erik de Castro Lopo@@ -21,12 +22,14 @@ category: Data build-type: Simple extra-source-files: ChangeLog.md+stability: provisional cabal-version: >=1.10 library default-language: Haskell2010 ghc-options: -Wall -fwarn-tabs hs-source-dirs: .+ other-extensions: StrictData exposed-modules: Data.WideWord , Data.WideWord.Word128@@ -34,7 +37,6 @@ build-depends: base >= 4.8 && < 5.0 , ghc-prim- , bytestring >= 0.10 test-suite test default-language: Haskell2010