The cse-ghc-plugin package

[Tags:bsd3, library]

This library is a conversion of GHC's internal Common Subexpression Elimination pass for Core to a compiler plugin. See the included test for an example of how to enable it.

[Skip to Readme]


Versions 0.1.1
Dependencies base (<5), ghc (>=7.4) [details]
License BSD3
Copyright Copyright (c) the GHC authors
Author The GHC authors
Maintainer Austin Seipp <>
Stability Unknown
Category Compiler Plugin
Home page
Bug tracker
Source repository head: git clone
Uploaded Wed Aug 8 01:33:58 UTC 2012 by AustinSeipp
Distributions NixOS:0.1.1
Downloads 358 total (5 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for cse-ghc-plugin

Readme for cse-ghc-plugin-0.1.1

GHC plugin for Common Subexpression Elimination (CSE)

This plugin gives an example of defining a compiler plugin for GHC. The implementation of this optimization is ripped directly from GHC itself. results: Build Status



Install the latest version of the plugin from Hackage (requires GHC 7.4.1):

$ cabal install cse-ghc-plugin

Join in

File bugs in the GitHub issue tracker.

Master git repository:

  • git clone

There's also a BitBucket mirror:

  • git clone


See AUTHORS.txt.


BSD3. See LICENSE.txt for terms of copyright and redistribution.