const-math-ghc-plugin: Compiler plugin for constant math elimination

[ bsd3, compiler-plugin, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

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 4121 total (10 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]