th-orphans 0.13.15 → 0.13.16
raw patch · 3 files changed
+8/−5 lines, 3 filesdep ~template-haskell
Dependency ranges changed: template-haskell
Files
- CHANGELOG.md +3/−0
- src/Language/Haskell/TH/Instances.hs +2/−2
- th-orphans.cabal +3/−3
CHANGELOG.md view
@@ -1,3 +1,6 @@+### 0.13.16 [2024.12.05]+* Support building with `template-haskell-2.23.0`.+ ### 0.13.15 [2024.10.22] * Support building with `template-haskell-2.22.1`. * Drop support for pre-8.0 versions of GHC.
src/Language/Haskell/TH/Instances.hs view
@@ -45,7 +45,7 @@ import Language.Haskell.TH.LanguageExtensions (Extension(..)) #endif -#if MIN_VERSION_template_haskell(2,16,0) && !(MIN_VERSION_template_haskell(2,22,1))+#if MIN_VERSION_template_haskell(2,16,0) && !(MIN_VERSION_template_haskell(2,23,0)) import GHC.Ptr (Ptr(Ptr)) import GHC.ForeignPtr (newForeignPtr_) import Language.Haskell.TH.Syntax.Compat (liftTypedFromUntypedSplice)@@ -94,7 +94,7 @@ [t| forall r w s m. (Quasi m, Monoid w) => Quasi (RWST r w s m) |] [e| \m1 m2 -> RWST $ \ r s -> runRWST m1 r s `qRecover` runRWST m2 r s |]) -#if MIN_VERSION_template_haskell(2,16,0) && !(MIN_VERSION_template_haskell(2,22,1))+#if MIN_VERSION_template_haskell(2,16,0) && !(MIN_VERSION_template_haskell(2,23,0)) instance Lift Bytes where lift bytes = [| Bytes
th-orphans.cabal view
@@ -1,5 +1,5 @@ name: th-orphans-version: 0.13.15+version: 0.13.16 cabal-version: >= 1.10 build-type: Simple license: BSD3@@ -20,7 +20,7 @@ , GHC == 9.2.8 , GHC == 9.4.8 , GHC == 9.6.6- , GHC == 9.8.2+ , GHC == 9.8.4 , GHC == 9.10.1 , GHC == 9.12.1 synopsis: Orphan instances for TH datatypes@@ -32,7 +32,7 @@ library build-depends: base >= 4.9 && < 5,- template-haskell >= 2.11 && < 2.23,+ template-haskell >= 2.11 && < 2.24, th-compat >= 0.1 && < 0.2, -- https://github.com/mboes/th-lift/issues/14 th-lift >= 0.7.1,