quoting in error messages

Axel Simon A.Simon at kent.ac.uk
Fri Apr 7 11:32:06 EDT 2006


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 at haskell.org
> [mailto:glasgow-haskell-bugs-
> | bounces at haskell.org] On Behalf Of Frederik Eaton
> | Sent: 07 April 2006 13:40
> | To: glasgow-haskell-bugs at haskell.org
> | 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs




More information about the Glasgow-haskell-bugs mailing list