th-compat

Backward- (and forward-)compatible Quote and Code types

https://github.com/haskell-compat/th-compat

Version on this page:0.1.1
LTS Haskell 22.18:0.1.5@rev:1
Stackage Nightly 2024-04-22:0.1.5@rev:1
Latest on Hackage:0.1.5@rev:1

See all snapshots th-compat appears in

BSD-3-Clause licensed by Ryan Scott
Maintained by Ryan Scott
This version can be pinned in stack with:th-compat-0.1.1@sha256:62f2dbddb23e0af39a4ea2f185911b172bc7533df3ca9b6ac9a6b22fc69e5831,2820

Module documentation for 0.1.1

th-compat

Hackage Hackage Dependencies Haskell Programming Language BSD3 License Build Status

This package defines a Language.Haskell.TH.Syntax.Compat module, which backports the Quote and Code types to work across a wide range of template-haskell versions. On recent versions of template-haskell (2.17.0.0 or later), this module simply reexports Quote and Code from Language.Haskell.TH.Syntax. Refer to the Haddocks for Language.Haskell.TH.Syntax.Compat for examples of how to use this module.

Changes

0.1.1 [2021.02.07]

  • Mark Language.Haskell.TH.Syntax.Compat as Trustworthy.

0.1 [2020.09.29]

  • Initial release