Wording of type error
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Mon Apr 30 04:46:43 EDT 2001
Sun, 29 Apr 2001 23:47:27 -0700, Simon Peyton-Jones <simonpj at microsoft.com> pisze:
> I also think you are probably right about replacing single-quotes
> with double-quotes.
Maybe, but on haskelldoc@ it emerged that single 'quotes' might be
good for distinguishing code snippets in comments (mostly single words;
larger snippets should be on separate lines and indented) - for an
automatic tool which makes hyperlinks to entities referred to.
Yes, it looks confusing (but unambiguous) when the name ends with '.
OTOH double quotes are used for generic quotations, so perhaps single
quoting ('', not `') could be a universal convention for embedding
language's identifiers in ASCII coded text.
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTÊPCZA
QRCZAK
More information about the Glasgow-haskell-bugs
mailing list