RE: Example code for GetOpt doesn't compile

2001-08-14 Thread Simon Marlow
The example code is slightly wrong. Change this: (_,_,errs) - fail (userError (concat errs ++ usageInfo header to this: (_,_,errs) - ioError (userError (concat errs ++ usageInfo header Cheers, Simon ___ Glasgow-haskell-bugs

Profiling with -O2

2001-08-14 Thread Saswat Anand
Hi, When I am trying to compile my prgram with -prof -auto-all -O2, It fails saying: Failed to find interface decl for But it is fine if I compile with either profiling or optimization options alone. Are they not supposed to work together? Thanks, Saswat