unroll-ghc-plugin

Compiler plugin for loop unrolling

http://thoughtpolice.github.com/unroll-ghc-plugin

Latest on Hackage:0.1.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Max Bolingbroke
Maintained by Austin Seipp

This plugin gives an example of defining a compiler plugin for GHC. It unrolls/peels loops loops that are properly annoted. See the included tests for examples.