Package0.1.7Text
th-compat
Backward- (and forward-)compatible Quote and Code types
- Version0.1.7
- CategoryText
- LicenceBSD-3-Clause
- AuthorRyan Scott
- MaintainerRyan Scott <ryan.
gl. scott@ gmail. com> - Homepagegithub.
com/ haskell-compat/ th-compat - Pinned byhackage th-compat 0.
1. 7 - Sourceth-compat-0.
1. 7 on Hackage
Modules
- Language.Haskell.TH.Syntax.CompatThis module exists to make it possible to define code that works across
Description
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. The makeRelativeToProject utility is also backported. On recent versions of template-haskell (2.17.0.0 or later), this module simply reexports definitions from Language.Haskell.TH.Syntax. Refer to the Haddocks for Language.Haskell.TH.Syntax.Compat for examples of how to use this module.
Depends on
2 packages- base-4.22.0.0with GHC
- template-haskell-2.24.0.0with GHC