OPTIONS_GHC -prof -auto-all

2011-03-26 Thread Henning Thielemann
I have a large package and want to profile all functions of a single module of that package. I tried to prepend the pragma {-# OPTIONS_GHC -prof -auto-all #-} to the mentioned module, but GHC rejects this, because the profiler options are not allowed in the OPTIONS pragma. According to htt

downgrade HP

2011-03-26 Thread Luca Ciciriello
Hi All. How can I downgrade the Haskell platform from 2011.2.0.0 to 2010.2.0.0? I've removed the HP 2011.2.0.0 and installed again the HP 2010.2.0.0, but now several important packages (like IO) are missing! My system is MacOS X 10.6.7 with Xcode 4 installed. Any idea? Thanks in advance. Luca.