The const-math-ghc-plugin package

[Tags:bsd3, library, test]

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.


Dependencies base (<5), containers, ghc (>=7.4) [details]
License BSD3
Author Conrad Parker, John Lato
Maintainer Conrad Parker <>
Stability Unknown
Category Compiler Plugin
Home page
Source repository head: git clone git://
Uploaded Fri Oct 19 03:56:24 UTC 2012 by ConradParker
Distributions NixOS:
Downloads 1169 total (15 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees