packages feed

data-dword 0.2 → 0.2.1

raw patch · 2 files changed

+8/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

data-dword.cabal view
@@ -1,5 +1,5 @@ Name: data-dword-Version: 0.2+Version: 0.2.1 Category: Data Stability: experimental Synopsis: Stick two binary words together to get a bigger one
src/Data/DoubleWord/TH.hs view
@@ -1381,7 +1381,13 @@                          (VarE 'fromIntegral)                          (SigE (VarE 'id) (AppT (AppT ArrowT tpT) tpT))                          AllPhases-      mkRules' [idRule] loT+          signRule = RuleP ("fromIntegral/" ++ show tp ++ "->" ++ show otp) []+                           (VarE 'fromIntegral)+                           (SigE (VarE (if signed then 'unsignedWord+                                                  else 'signedWord))+                                 (AppT (AppT ArrowT tpT) (ConT otp)))+                           AllPhases+      mkRules' [idRule, signRule] loT                (VarE 'loWord)                (VarE 'extendLo)                (VarE 'signExtendLo)