th-utilities 0.2.5.1 → 0.2.5.2
raw patch · 3 files changed
+6/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- src/TH/Utilities.hs +1/−1
- th-utilities.cabal +1/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog +## 0.2.5.2++* Fixes build with ghc-9.0 (`template-haskell-2.17`)+ ## 0.2.5.1 * `typeRepToType` now supports type literals, tuples and lists. See
src/TH/Utilities.hs view
@@ -188,7 +188,7 @@ | modName == typeLitsMod = case tyConName con of s@('"':_) -> LitT . StrTyLit $ read s-#if MIN_VERSION_template_haskell(2,17,0)+#if MIN_VERSION_template_haskell(2,18,0) ['\'', c, '\''] -> LitT $ CharTyLit c #endif s -> case readMaybe s of
th-utilities.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: th-utilities-version: 0.2.5.1+version: 0.2.5.2 synopsis: Collection of useful functions for use with Template Haskell category: Template Haskell homepage: https://github.com/fpco/th-utilities#readme