const-math-ghc-plugin: Compiler plugin for constant math elimination
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.
Downloads
- const-math-ghc-plugin-1.0.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 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 | BSD-3-Clause |
| Author | Conrad Parker, John Lato |
| Maintainer | Conrad Parker <conrad@metadecks.org> |
| Category | Compiler Plugin |
| Home page | https://github.com/kfish/const-math-ghc-plugin |
| Source repo | head: git clone git://github.com/kfish/const-math-ghc-plugin.git |
| Uploaded | by ConradParker at 2012-10-19T03:56:24Z |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 4182 total (7 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |