packages feed

th-orphans 0.13.11 → 0.13.12

raw patch · 4 files changed

+16/−4 lines, 4 filesdep +th-expand-synsdep ~semigroupsdep ~template-haskellPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependencies added: th-expand-syns

Dependency ranges changed: semigroups, template-haskell

API changes (from Hackage documentation)

- Language.Haskell.TH.Instances: instance GHC.Enum.Bounded GHC.LanguageExtensions.Type.Extension
+ Language.Haskell.TH.Instances: instance Language.Haskell.TH.Syntax.Lift Language.Haskell.TH.Syntax.Bytes

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+### 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`.+ ### 0.13.11 [2020.09.29] * Allow building with `template-haskell-2.17.0.0` (GHC 9.0). * Define `Quote` instances for `ReaderT`, `StateT`, `WriterT`, and `RWST`. In
README.md view
@@ -3,7 +3,7 @@ [![Hackage Dependencies](https://img.shields.io/hackage-deps/v/th-orphans.svg)](http://packdeps.haskellers.com/reverse/th-orphans) [![Haskell Programming Language](https://img.shields.io/badge/language-Haskell-blue.svg)][Haskell.org] [![BSD3 License](http://img.shields.io/badge/license-BSD3-brightgreen.svg)][tl;dr Legal: BSD3]-[![Build](https://img.shields.io/travis/mgsloan/th-orphans.svg)](https://travis-ci.org/mgsloan/th-orphans)+[![Build Status](https://github.com/mgsloan/th-orphans/workflows/Haskell-CI/badge.svg)](https://github.com/mgsloan/th-orphans/actions?query=workflow%3AHaskell-CI)  [Hackage: th-orphans]:   http://hackage.haskell.org/package/th-orphans
src/Language/Haskell/TH/Instances/Internal.hs view
@@ -87,6 +87,10 @@ #if MIN_VERSION_template_haskell(2,16,0)             , ('qReifyType,          [| MTL.lift . qReifyType |]) #endif+#if MIN_VERSION_template_haskell(2,18,0)+            , ('qGetDoc,             [| MTL.lift . qGetDoc |])+            , ('qPutDoc,             [| \a b -> MTL.lift $ qPutDoc a b |])+#endif             ]            mkDec :: Name -> Q Exp -> Q Dec
th-orphans.cabal view
@@ -1,5 +1,5 @@ name:               th-orphans-version:            0.13.11+version:            0.13.12 cabal-version:      >= 1.10 build-type:         Simple license:            BSD3@@ -21,7 +21,9 @@                   , GHC == 8.4.4                   , GHC == 8.6.5                   , GHC == 8.8.4-                  , GHC == 8.10.2+                  , GHC == 8.10.7+                  , GHC == 9.0.1+                  , GHC == 9.2.* 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@@ -31,8 +33,10 @@  library   build-depends:      base >= 4.3 && < 5,-                      template-haskell < 2.18,+                      template-haskell < 2.19,                       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,