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 mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to