quoting in error messages

Simon Peyton-Jones simonpj at microsoft.com
Fri Apr 7 11:23:41 EDT 2006


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.

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



More information about the Glasgow-haskell-bugs mailing list