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;

https://github.com/kfish/const-math-ghc-plugin

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.

Properties

Versions 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.3.0.1, 1.0.0.0
Dependencies base (<5), containers, ghc (>=7.4) [details]
License BSD3
Author Conrad Parker, John Lato
Maintainer Conrad Parker <conrad@metadecks.org>
Stability Unknown
Category Compiler Plugin
Home page https://github.com/kfish/const-math-ghc-plugin
Source repository head: git clone git://github.com/kfish/const-math-ghc-plugin.git
Uploaded Fri Oct 19 03:56:24 UTC 2012 by ConradParker
Distributions NixOS:1.0.0.0
Downloads 1154 total (10 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees