The const-math-ghc-plugin package

[ Tags: bsd3, compiler-plugin, library ] [ Propose Tags ]

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>
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 12 07:02:50 UTC 2012 by ConradParker
Distributions NixOS:1.0.0.0
Downloads 1328 total (13 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees