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:
To use it to build a cabal package packagename:
Math should run faster.