logo       

RE: quoting in error messages: msg#00020

lang.haskell.glasgow.bugs

Subject: RE: quoting in error messages

On Fri, 2006-04-07 at 16:23 +0100, Simon Peyton-Jones wrote:
> What do others think? It'd be dead easy to replace
> `thing'
> by
> "thing"
> in GHC's error messages, if that's what a majority want.

I'd agree with Frederik. Most errors do not involve string constants and
`foo' is rather awkward unless run through latex.

Axel.

> Simon
>
> | -----Original Message-----
> | From: glasgow-haskell-bugs-bounces@xxxxxxxxxxx
> [mailto:glasgow-haskell-bugs-
> | bounces@xxxxxxxxxxx] On Behalf Of Frederik Eaton
> | Sent: 07 April 2006 13:40
> | To: glasgow-haskell-bugs@xxxxxxxxxxx
> | Subject: quoting in error messages
> |
> | Hi,
> |
> | This is quite a minor issue but I just wanted to point out that it
> | would be a little easier on the eye to use double quotes rather than
> | paired single quotes in error messages e.g.:
> |
> | Couldn't match the rigid variable `d'' against `Bar a'
> | `d'' is bound by the polymorphic type `forall d d'.
> | (Data d, Data d') =>
> | t d d' -> t d d''
> |
> | Thanks,
> |
> | Frederik
> _______________________________________________
> Glasgow-haskell-bugs mailing list
> Glasgow-haskell-bugs@xxxxxxxxxxx
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise