RE: Text.PrettyPrint.HughesPJ.quotes

On 05 August 2004 13:47, Christian Maeder wrote:
quotes :: Doc -> Doc Wrap document in '...'
Prelude Text.PrettyPrint.HughesPJ> quotes empty `'
Either the (haddock) documentation or the implementation is wrong. Is the first sign really supposed to be a back quote?
I'd like to change the implementation to use ordinary forward single quotes. The backtick is not a quotation mark - it looks ok in some fonts (eg. the X11 misc fonts), but not in others. There's an article somewhere on the web that describes why backticks should not be used as single quotes, I can probably dig it up if anyone's interested. I'm aware that GHC is a serious offender here :-) Any objections to changing this in Text.PrettyPrint.HughesPJ? Cheers, Simon

"Simon Marlow"
The backtick is not a quotation mark - it looks ok in some fonts (eg. the X11 misc fonts), but not in others. There's an article somewhere on the web that describes why backticks should not be used as single quotes, I can probably dig it up if anyone's interested.
I'm sure that every terminal font I have used since 1987 had quote and back-quote characters rendered symmetrically, until about three years ago, when suddenly both characters became ugly and they no longer balanced. I've been wondering what happened ever since...
Any objections to changing this in Text.PrettyPrint.HughesPJ?
No objections! Regards, Malcolm

W liście z pią, 06-08-2004, godz. 15:06 +0100, Malcolm Wallace napisał:
I'm sure that every terminal font I have used since 1987 had quote and back-quote characters rendered symmetrically, until about three years ago, when suddenly both characters became ugly and they no longer balanced. I've been wondering what happened ever since...
The ASCII tradition was ambiguous whether ` is a quote or accent (on low-resolution displays it didn't matter much), and later the ambiguity was resolved in favor of the accent. http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html -- __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/
participants (4)
-
Andy Moran
-
Malcolm Wallace
-
Marcin 'Qrczak' Kowalczyk
-
Simon Marlow