@hackage const-math-ghc-plugin0.3.0.1

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.