Win32-errors 0.2.2.6 → 0.2.2.7
raw patch · 3 files changed
+11/−8 lines, 3 filesdep ~Win32dep ~template-haskelldep ~textPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: Win32, template-haskell, text
API changes (from Hackage documentation)
Files
- ChangeLog +4/−0
- System/Win32/Error/TH.hs +2/−2
- Win32-errors.cabal +5/−6
ChangeLog view
@@ -1,3 +1,7 @@+## 0.2.2.7 + +* Changed package dependencies to support GHC 9.2.x, GHC 9.4.x and GHC 9.6.x + ## 0.2.2.6 * Relaxed upper bounds for package dependencies to support for GHC 9.0.x
System/Win32/Error/TH.hs view
@@ -49,12 +49,12 @@ gentoDWORD = do x <- newName "x" return [ SigD toDWORD (AppT (AppT ArrowT (ConT errCode)) (ConT ''DWORD))- , FunD toDWORD $ Clause [ConP errOther [VarP x]] (NormalB (VarE x)) [] : map genClause mapping+ , FunD toDWORD $ Clause [ConP errOther [] [VarP x]] (NormalB (VarE x)) [] : map genClause mapping ] where toDWORD = mkName "toDWORD" genClause :: (DWORD, Name) -> Clause- genClause (dw, err) = Clause [ConP err []] (NormalB (LitE . litDWORD $ dw)) []+ genClause (dw, err) = Clause [ConP err [] []] (NormalB (LitE . litDWORD $ dw)) [] -- fromDWORD :: DWORD -> ErrCode -- fromDWORD 0 = ErrorSuccess
Win32-errors.cabal view
@@ -1,5 +1,5 @@ name: Win32-errors-version: 0.2.2.6+version: 0.2.2.7 synopsis: Alternative error handling for Win32 foreign calls description: This package provides an alternative to the Win32 library's error handling@@ -21,8 +21,7 @@ cabal-version: 1.16 homepage: http://github.com/mikesteele81/win32-errors bug-reports: http://github.com/mikesteele81/win32-errors/issues-tested-with: GHC == 8.0.1, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.5,- GHC == 8.8.1, GHC == 8.10.7, GHC == 9.0.2+tested-with: GHC == 9.2.7, GHC == 9.4.4, GHC == 9.6.1 extra-source-files: include/windows_cconv.h ChangeLog@@ -37,9 +36,9 @@ cc-options: -fno-strict-aliasing build-depends: base >= 4.6 && < 5.0- , template-haskell >= 2.8 && < 2.18- , text >= 0.11 && < 1.3- , Win32 >= 2.2 && < 2.11+ , template-haskell >= 2.18 && < 2.30+ , text >= 0.11 && < 2.1.0+ , Win32 >= 2.2 && < 2.14 exposed-modules: System.Win32.Error System.Win32.Error.Foreign