Re: change in IO error messages

"Sigbjorn Finne" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <005d01c28026$012e9da0$1e32a8c0@sofxp>
Hi,

thanks for the report. Now fixed.

--sigbjorn

----- Original Message ----- 
From: "Dean Herington" <[email protected]>
To: <[email protected]>
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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.