From 085cccbaa845bff4255028ed5ff71402e98a953a Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Mon, 5 Feb 2024 19:41:29 -0500 Subject: [PATCH 1/2] Compatibility with template-haskell 2.21 --- ixset-typed.cabal | 2 +- src/Data/IxSet/Typed.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ixset-typed.cabal b/ixset-typed.cabal index 5df3b3e..2f6dee9 100644 --- a/ixset-typed.cabal +++ b/ixset-typed.cabal @@ -38,7 +38,7 @@ library deepseq >= 1.3 && < 2, safecopy >= 0.8 && < 0.11, syb >= 0.4 && < 1, - template-haskell >= 2.8 && < 2.19 + template-haskell >= 2.8 && < 2.22 hs-source-dirs: src exposed-modules: diff --git a/src/Data/IxSet/Typed.hs b/src/Data/IxSet/Typed.hs index ffaa096..8a25fb4 100644 --- a/src/Data/IxSet/Typed.hs +++ b/src/Data/IxSet/Typed.hs @@ -607,7 +607,7 @@ inferIxSet ixset typeName calName entryPoints _ -> error "IxSet.inferIxSet calInfo unexpected match" #if MIN_VERSION_template_haskell(2,17,0) -tyVarBndrToName :: TyVarBndr () -> Name +tyVarBndrToName :: TyVarBndr flag -> Name tyVarBndrToName (PlainTV nm _) = nm tyVarBndrToName (KindedTV nm _ _) = nm #else From 0d699386eab5c4f6aa53e4de41defb460acbbd99 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Fri, 28 Jun 2024 09:35:12 -0400 Subject: [PATCH 2/2] Compatibility with template-haskell 2.22 --- ixset-typed.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ixset-typed.cabal b/ixset-typed.cabal index 2f6dee9..f0199b0 100644 --- a/ixset-typed.cabal +++ b/ixset-typed.cabal @@ -38,7 +38,7 @@ library deepseq >= 1.3 && < 2, safecopy >= 0.8 && < 0.11, syb >= 0.4 && < 1, - template-haskell >= 2.8 && < 2.22 + template-haskell >= 2.8 && < 2.23 hs-source-dirs: src exposed-modules: