thoughtpolice/cse-ghc-plugin — pull request #1 by shelarcy (2012-03-25 01:58:11+00:00)
Title: Fix building with GHC 7.4.1

GHC 7.4.1 can't build with cse-ghc-plugin. Because Expr type constructor is changed, and defaultGentleSimplToDo is removed.

https://github.com/thoughtpolice/strict-ghc-plugin/pull/1
http://www.haskell.org/pipermail/cvs-ghc/2011-July/064292.html

So, I changed code to fix building with GHC 7.4.1. I checked that this version shows correct result.

$ ghc -fno-cse -O2 -fforce-recomp -fplugin CSE.Plugin Traced.hs
(snip)

$ ./Traced
The test is successful if the word 'Evaluated' appears only once below:
Evaluated