The th-build package

[ Tags: bsd3, library, template-haskell ] [ Propose Tags ]

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.


Dependencies base (>=4 && <6), template-haskell (== [details]
License BSD3
Copyright Daniel Schüssler
Author Daniel Schüssler
Category Template Haskell
Home page
Source repository head: git clone
Uploaded Thu Jun 26 20:25:20 UTC 2014 by DanielSchuessler
Distributions NixOS:
Downloads 988 total (111 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees