th-orphans

Orphan instances for TH datatypes

Version on this page:0.13.11
LTS Haskell 22.14:0.13.14@rev:2
Stackage Nightly 2024-03-28:0.13.14@rev:2
Latest on Hackage:0.13.14@rev:2

See all snapshots th-orphans appears in

BSD-3-Clause licensed by Matt Morrow, Michael Sloan, Ryan Scott
Maintained by Ryan Scott
This version can be pinned in stack with:th-orphans-0.13.11@sha256:d98891aa568fac0995e240f45f88ca844478722cb3a049b9340601f062867caf,2845

Module documentation for 0.13.11

th-orphans

Hackage Hackage Dependencies Haskell Programming Language BSD3 License Build

Orphan instances for TH datatypes

Changes

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 order to define these instances on as many versions of template-haskell as possible, this library now depends on the th-compat library, which backports the Quote class to older versions of template-haskell.
  • Backport the Semigroup, Monoid, and MonadFix instances for Q that were introduced in template-haskell-2.17.0.0.

0.13.10 [2020.04.13]

  • Implement liftTyped in the Lift Bytes instance.

0.13.9 [2019.09.28]

  • Implement qReifyType (introduced in template-haskell-2.16.0.0) for the Quasi instances defined in th-orphans.

0.13.8 [2019.09.04]

  • Backport the Bounded instance for Extension (from Language.Haskell.TH.LanguageExtensions), which was introduced in template-haskell-2.15.0.0.

0.13.7 [2019.03.24]

  • Backport the MonadFail Q instance.
  • Allow building with template-haskell-2.16 by manually implementing Lift for Bytes. See #27

0.13.6 [2018.07.01]

  • Allow building with template-haskell-2.14.
  • Implement qAddForeignFilePath and qAddTempFile for Quasi instances

0.13.5 [2018.01.18]

  • Implement qAddCorePlugin for Quasi instances

0.13.4 [2017.07.26]

  • Implement qAddForeignFile for Quasi instances

0.13.3 [2016.11.09]

  • Backport Generic NameFlavour instance