th-compat

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

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

Version on this page:0.1.2
LTS Haskell 22.14:0.1.5
Stackage Nightly 2024-03-29:0.1.5
Latest on Hackage:0.1.5

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.2@sha256:3d55de1adc542c1a870c9ada90da2fbbe5f4e8bcd3eed545a55c3df9311b32a8,2854

Module documentation for 0.1.2

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.2 [2021.03.12]

  • Add bindSplice, bindSplice_, examineSplice, joinSplice, hoistSplice, liftSplice, and unTypeSplice to Language.Haskell.TH.Syntax.Compat.

0.1.1 [2021.02.07]

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

0.1 [2020.09.29]

  • Initial release