th-extras 0.0.0.6 → 0.0.0.7
raw patch · 3 files changed
+13/−5 lines, 3 filesdep ~template-haskellnew-uploaderPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: template-haskell
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- src/Language/Haskell/TH/Extras.hs +4/−0
- th-extras.cabal +5/−5
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for th-extras +## 0.0.0.7 - 2023-12-15++* Support GHC 9.6 and 9.8+ ## 0.0.0.6 - 2022-01-04 * Fix GHC 8.0 build
src/Language/Haskell/TH/Extras.hs view
@@ -252,7 +252,11 @@ -- its declaration, and the arity of the kind of type being defined (i.e. how many more arguments would -- need to be supplied in addition to the bound parameters in order to obtain an ordinary type of kind *). -- If the supplied 'Name' is anything other than a data or newtype, produces an error.+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 908 tyConArity' :: Name -> Q ([TyVarBndrUnit], Int)+#else+tyConArity' :: Name -> Q ([TyVarBndr BndrVis], Int)+#endif tyConArity' n = do r <- reify n return $ case r of
th-extras.cabal view
@@ -1,5 +1,5 @@ name: th-extras-version: 0.0.0.6+version: 0.0.0.7 stability: experimental cabal-version: >= 1.10@@ -19,8 +19,8 @@ providing high-level operations and making sure they work on as many versions of Template Haskell as I can. -tested-with: GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,- GHC == 8.8.4, GHC == 8.10.2, GHC == 9.0.1+tested-with: GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4,+ GHC == 8.10.2, GHC == 9.0.1, GHC == 9.6.3, GHC == 9.8.1 extra-source-files: ReadMe.md , ChangeLog.md@@ -34,7 +34,7 @@ exposed-modules: Language.Haskell.TH.Extras build-depends: base >= 4.9 && < 5 , containers- , template-haskell < 2.19- , th-abstraction >= 0.4 && < 0.5+ , template-haskell < 2.23+ , th-abstraction >= 0.4 && < 0.7 , syb default-language: Haskell2010