Text.PrettyPrint.HughesPJ.quotes

Simon Marlow simonmar at microsoft.com
Fri Aug 6 06:14:59 EDT 2004


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


More information about the Libraries mailing list