@hackage / zeroth

ZeroTH - remove unnecessary TH dependencies

Latest2009.6.23.3

About

Metadata

  • Last updated , by RobinGreen
  • License BSD-3-Clause
  • Maintained by: Robin Green <greenrd@greenrd.org>

  • Lottery factor: 0

Links

Installation

This package uses the Custom cabal build type

Readme

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.