change in IO error messages

Sigbjorn Finne sof@galois.com
Wed, 30 Oct 2002 07:07:03 -0800


Hi,

thanks for the report. Now fixed.

--sigbjorn

----- Original Message ----- 
From: "Dean Herington" <heringto@cs.unc.edu>
To: <hugs-bugs@haskell.org>
Sent: Wednesday, October 23, 2002 09:05
Subject: change in IO error messages


> In the 20021021 release candidate, a newline is now appended to IO error
> 
> messages, including in particular the case of (ioError (userError "user
> message")).  I dislike this change for several reasons:
> 
> * It treats IO errors differently from other exceptions.  That is, (show
> e) for
> an Exception e has a newline appended for IO errors but not other
> exceptions.
> * It introduces an unnecessary inconsistency with GHC.
> * It breaks HUnit, which needs to manipulate error message strings.
> 
>  -- Dean
>