Set cost centers when profiling Haskell

2011-09-20

Set cost centers when profiling Haskell

Add {-# SCC "foo" #-} pragma to expressions, to see which of the local expressions are the bottlenecks. See also the GHC manual.