The const-math-ghc-plugin package

[Tags: bsd3, library]

This plugin evaluates constant math expressions at compile-time.

For details and full usage information, see;

To use it to compile foo.hs:

$ cabal install const-math-ghc-plugin
$ ghc -fplugin ConstMath.Plugin foo.hs

To use it to build a cabal package packagename:

$ cabal install --ghc-options=-package const-math-ghc-plugin -fplugin ConstMath.Plugin packagename

Math should run faster.


Dependenciesbase (<5), containers, ghc (>=7.4)
AuthorConrad Parker, John Lato
MaintainerConrad Parker <>
CategoryCompiler Plugin
Home page
Source repositoryhead: git clone git://
UploadedFri Oct 19 03:56:24 UTC 2012 by ConradParker
Downloads519 total (25 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees