zeroth: ZeroTH - remove unnecessary TH dependencies

[ bsd3, language, library, program ] [ Propose Tags ]

TemplateHaskell is fairly useful for generating new Haskell code. This, however, can incur a dependency on TH on subsequent uses where none theoretically should exist. ZeroTH solves this by scanning a file for top-level TH declarations, evaluates them, removes TH imports, and outputs the resulting code.

Versions [RSS] [faq] 2008.10.27, 2008.10.28, 2009.6.23, 2009.6.23.2, 2009.6.23.3
Dependencies base (==4.*), Cabal (==1.6.*), derive, directory, filepath, haskell-src-exts (>=1.0.0), hskeleton (==0.1.*), monoid-record (==0.1.*), process, syb, template-haskell [details]
License BSD-3-Clause
Copyright 2005-2008 Lemmih <>, 2009 Robin Green <>
Maintainer Robin Green <>
Category Language
Bug tracker
Source repo head: darcs get
Uploaded by RobinGreen at 2009-06-23T18:57:45Z
Distributions NixOS:2009.6.23.3
Executables zeroth
Downloads 3351 total (18 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-31 [all 7 reports]


  • Distribution
    • Distribution.ZeroTH
  • Language
    • Haskell
      • TH
        • Language.Haskell.TH.ZeroTH
          • Language.Haskell.TH.ZeroTH.Comments
          • Language.Haskell.TH.ZeroTH.Config
          • Language.Haskell.TH.ZeroTH.GetOpt
          • Language.Haskell.TH.ZeroTH.Helper


Maintainer's Corner

For package maintainers and hackage trustees