th-compat: Backward- (and forward-)compatible Quote and Code types

[ bsd3, library, text ] [ Propose Tags ] [ Report a vulnerability ]

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.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5
Change log CHANGELOG.md
Dependencies base (>=4.3 && <5), fail (>=4.9 && <4.10), template-haskell (>=2.5 && <2.18), transformers (>=0.2 && <0.6) [details]
Tested with ghc ==7.0.4, ghc ==7.2.2, ghc ==7.4.2, ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.3, ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.3, ghc ==8.10.1
License BSD-3-Clause
Copyright (C) 2020 Ryan Scott
Author Ryan Scott
Maintainer Ryan Scott <ryan.gl.scott@gmail.com>
Category Text
Home page https://github.com/haskell-compat/th-compat
Bug tracker https://github.com/haskell-compat/th-compat/issues
Source repo head: git clone https://github.com/haskell-compat/th-compat
Uploaded by ryanglscott at 2021-02-07T21:03:03Z
Distributions Arch:0.1.5, Fedora:0.1.4, LTSHaskell:0.1.5, NixOS:0.1.5, Stackage:0.1.5, openSUSE:0.1.5
Reverse Dependencies 20 direct, 8277 indirect [details]
Downloads 30680 total (441 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-02-07 [all 1 reports]

Readme for th-compat-0.1.1

[back to package description]

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.