th-orphans 0.13.12 → 0.13.13
raw patch · 3 files changed
+12/−7 lines, 3 filesdep −th-expand-synsdep ~mtldep ~template-haskelldep ~th-reify-many
Dependencies removed: th-expand-syns
Dependency ranges changed: mtl, template-haskell, th-reify-many
Files
CHANGELOG.md view
@@ -1,3 +1,7 @@+### 0.13.13 [2022.05.19]+* Implement `qGetPackageRoot` (introduced in `template-haskell-2.19.0.0`)+ for the `Quasi` instances defined in `th-orphans`.+ ### 0.13.12 [2021.08.30] * Implement `qGetDoc` and `qPutDoc` (introduced in `template-haskell-2.18.0.0`) for the `Quasi` instances defined in `th-orphans`.
src/Language/Haskell/TH/Instances/Internal.hs view
@@ -91,6 +91,9 @@ , ('qGetDoc, [| MTL.lift . qGetDoc |]) , ('qPutDoc, [| \a b -> MTL.lift $ qPutDoc a b |]) #endif+#if MIN_VERSION_template_haskell(2,19,0)+ , ('qGetPackageRoot, [| MTL.lift qGetPackageRoot |])+#endif ] mkDec :: Name -> Q Exp -> Q Dec
th-orphans.cabal view
@@ -1,5 +1,5 @@ name: th-orphans-version: 0.13.12+version: 0.13.13 cabal-version: >= 1.10 build-type: Simple license: BSD3@@ -23,7 +23,7 @@ , GHC == 8.8.4 , GHC == 8.10.7 , GHC == 9.0.1- , GHC == 9.2.*+ , GHC == 9.2.1 synopsis: Orphan instances for TH datatypes description: Orphan instances for TH datatypes. In particular, instances for Ord and Lift, as well as a few missing Show / Eq. These@@ -33,19 +33,17 @@ library build-depends: base >= 4.3 && < 5,- template-haskell < 2.19,+ template-haskell < 2.20, th-compat >= 0.1 && < 0.2,- -- Temporary upper bounds until https://github.com/mgsloan/th-reify-many/issues/9 is resolved- th-expand-syns < 0.4.9, -- https://github.com/mboes/th-lift/issues/14 th-lift >= 0.7.1, th-reify-many >= 0.1 && < 0.2, th-lift-instances,- mtl+ mtl >= 2 if !impl(ghc >= 8.0) build-depends: fail == 4.9.*,- semigroups >= 0.18.5 && < 0.20+ semigroups >= 0.18.5 && < 0.21 -- Use TH to derive Generics instances instead of DeriveGeneric, for < 7.10 if impl(ghc < 7.10)