th-build: More convenient construction of TH ASTs
The main feature here is implicit conversion of arguments to AST constructors: Tired of writing things like
valD (varP (mkName "foo")) (normalB (appE (varE 'not) (conT 'True))) []
? With th-build:
valD' "foo" (appE' 'not 'True) ()
Hint: Use ()
for an empty list argument to an autoconverting function, since []
will yield an type ambiguity error.
Downloads
- th-build-0.4.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.4.0.0 |
---|---|
Dependencies | base (>=4 && <6), template-haskell (==2.9.0.0) [details] |
License | BSD-3-Clause |
Copyright | Daniel Schüssler |
Author | Daniel Schüssler |
Maintainer | daniels@community.haskell.org |
Category | Template Haskell |
Home page | https://github.com/DanielSchuessler/th-build |
Source repo | head: git clone git@github.com:DanielSchuessler/th-build.git |
Uploaded | by DanielSchuessler at 2014-06-26T20:25:20Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 2959 total (0 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |