[project @ 2004-05-25 09:11:57 by simonpj]
authorsimonpj <unknown>
Tue, 25 May 2004 09:11:57 +0000 (09:11 +0000)
committersimonpj <unknown>
Tue, 25 May 2004 09:11:57 +0000 (09:11 +0000)
commitbfe6470ff5cb5d5f9524f3874f48214dd2293d9c
tree9c7b65b0cddace757b89ec6105eac7849ff482f7
parentf37ee04dfd080098c5c0c781a920e9fbe6bb0624
[project @ 2004-05-25 09:11:57 by simonpj]
Remove spaces around the "%" when showing ratios.

This is not absolutely strictly according to the H98 report,
but it was suggested by Doug McIlroy

   According to the standard prelude, a list of Ratios prints like
   this: [1 % 1,1 % 2,1 % 3,1 % 4], which strongly suggests the
   grouping [1 % (1,1) % (2,1) % (3,1) % 4].

   Even standing alone outside of lists, the style is at odds with
   mathematical custom.  When did you last see 1/2 written as 1 / 2?
GHC/Real.lhs