packages feed

th-orphans 0.13.13 → 0.13.14

raw patch · 3 files changed

+8/−3 lines, 3 filesdep ~template-haskell

Dependency ranges changed: template-haskell

Files

CHANGELOG.md view
@@ -1,3 +1,6 @@+### 0.13.14 [2022.08.21]+* Only depend on `th-lift-instances` for `ghc <= 7.8`.+ ### 0.13.13 [2022.05.19] * Implement `qGetPackageRoot` (introduced in `template-haskell-2.19.0.0`)   for the `Quasi` instances defined in `th-orphans`.
src/Language/Haskell/TH/Instances.hs view
@@ -69,7 +69,9 @@ import Control.Monad.State (StateT(StateT), runStateT) import qualified Control.Monad.Trans as Trans (MonadTrans(lift)) import Control.Monad.Writer (WriterT(WriterT), runWriterT)+#if !MIN_VERSION_base(4,8,0) import Instances.TH.Lift ()+#endif  #if !(MIN_VERSION_template_haskell(2,8,0)) import Unsafe.Coerce (unsafeCoerce)
th-orphans.cabal view
@@ -1,5 +1,5 @@ name:               th-orphans-version:            0.13.13+version:            0.13.14 cabal-version:      >= 1.10 build-type:         Simple license:            BSD3@@ -37,8 +37,7 @@                       th-compat >= 0.1 && < 0.2,                       -- https://github.com/mboes/th-lift/issues/14                       th-lift >= 0.7.1,-                      th-reify-many >= 0.1 && < 0.2,-                      th-lift-instances,+                      th-reify-many >= 0.1.9 && < 0.2,                       mtl >= 2    if !impl(ghc >= 8.0)@@ -48,6 +47,7 @@   -- Use TH to derive Generics instances instead of DeriveGeneric, for < 7.10   if impl(ghc < 7.10)     build-depends:    generic-deriving >= 1.9+                    , th-lift-instances    -- Prior to GHC 7.6, GHC generics lived in ghc-prim   if impl(ghc >= 7.2) && impl(ghc < 7.6)