https://github.com/goldfirere/th-desugar

Last synced: about 1 month ago

Repository metadata:

Desugars Template Haskell abstract syntax to a simpler format without changing semantics


Owner metadata:


Committers metadata

Last synced: about 2 months ago

Total Commits: 403
Total Committers: 15
Avg Commits per committer: 26.867
Development Distribution Score (DDS): 0.476

Commits in past year: 33
Committers in past year: 2
Avg Commits per committer in past year: 16.5
Development Distribution Score (DDS) in past year: 0.424

Name Email Commits
Ryan Scott r****t@g****m 211
Richard Eisenberg e****r@c****u 118
Ryan Scott r****t@g****m 21
Christiaan Baaij c****j@g****m 17
Richard Eisenberg r****e@c****u 11
David Fox d****f@s****m 8
Daniel Schüssler h****h@g****m 5
Richard Eisenberg e****r@s****u 3
Jan Stolarek j****k@p****l 2
Mathieu Boespflug m@t****o 2
Ben Gamari b****n@s****g 1
RyanGlScott r****t@k****u 1
Sergei Trofimovich s****x@g****g 1
Felix Yan f****s@a****g 1
Vekhir 1****r 1

Issue and Pull Request metadata

Last synced: about 1 month ago


Package metadata

hackage: th-desugar

This package provides the Language.Haskell.TH.Desugar module, which desugars Template Haskell's rich encoding of Haskell syntax into a simpler encoding. This desugaring discards surface syntax information (such as the use of infix operators) but retains the original meaning of the TH code. The intended use of this package is as a preprocessor for more advanced code manipulation tools. Note that the input to any of the ds... functions should be produced from a TH quote, using the syntax [| ... |]. If the input to these functions is a hand-coded TH syntax tree, the results may be unpredictable. In particular, it is likely that promoted datatypes will not work as expected.

  • Homepage: https://github.com/goldfirere/th-desugar
  • Licenses: BSD-3-Clause
  • Latest release: 1.13.1 (published over 2 years ago)
  • Last Synced: 2024-11-11T01:36:55.770Z (about 1 month ago)
  • Versions: 31
  • Dependent Packages: 7
  • Dependent Repositories: 156
  • Downloads: 47,070 Total
  • Rankings:
    • Downloads: 2.967%
    • Dependent repos count: 3.204%
    • Dependent packages count: 3.899%
    • Average: 7.422%
    • Forks count: 10.11%
    • Stargazers count: 16.931%
  • Maintainers (2)

Dependencies

th-desugar.cabal hackage
  • base >=4.9 && <5
  • containers >=0.5
  • ghc-prim *
  • mtl >=2.1 && <2.4
  • ordered-containers >=0.2.2
  • syb >=0.4
  • template-haskell >=2.11 && <2.20
  • th-abstraction ==0.4.*
  • th-lift >=0.6.1
  • th-orphans >=0.13.7
  • transformers-compat >=0.6.3
  • HUnit >=1.2 test
  • base ==4.* test
  • containers >=0.5 test
  • hspec >=1.3 test
  • mtl >=2.1 test
  • syb >=0.4 test
  • template-haskell * test
  • th-abstraction ==0.4.* test
  • th-desugar * test
  • th-lift >=0.6.1 test
  • th-orphans >=0.13.9 test
.github/workflows/haskell-ci.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite