Package0.1.6Text
th-compat
Backward- (and forward-)compatible Quote and Code types
- Version0.1.6
- 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.6
- Sourcehackage.haskell.org/package/th-compat-0.1.6
Modules
1 module- Language.Haskell.TH.Syntax.Compat31This 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.20.2.0with GHC
- template-haskell-2.22.0.0with GHC