To build the example, simply run: ghc --make Fibonnaci.hs -plg DepthAnalysis.Plugin ./Fibonnaci This should run and show you the depth count recorded for Fibonnaci, but currently the compiler segfaults instead (25th April 2009). Not quite sure why :-)