th-desugar
Version 1.18 revision 0 uploaded by ryanglscott.
Package meta
- Synopsis
- Functions to desugar Template Haskell
- Description
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.
- Author
- Richard Eisenberg <rae@cs.brynmawr.edu>
- Bug reports
- https://github.com/goldfirere/th-desugar/issues
- Category
- Template Haskell
- Copyright
- n/a
- Homepage
- https://github.com/goldfirere/th-desugar
- Maintainer
- Ryan Scott <ryan.gl.scott@gmail.com>
- Package URL
- n/a
- Stability
- experimental