projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1996-06-26 10:26:00 by partain]
[ghc-hetmet.git]
/
ghc
/
compiler
/
utils
/
Pretty.lhs
diff --git
a/ghc/compiler/utils/Pretty.lhs
b/ghc/compiler/utils/Pretty.lhs
index
8cb2440
..
985666d
100644
(file)
--- a/
ghc/compiler/utils/Pretty.lhs
+++ b/
ghc/compiler/utils/Pretty.lhs
@@
-149,6
+149,7
@@
ppInt n width is_vert = MkPrettyRep (cStr s) (MkDelay ls) False (width >= ls)
ppInteger n = ppStr (show n)
ppDouble n = ppStr (show n)
ppFloat n = ppStr (show n)
+
ppRational n = ppStr (show (fromRationalX n)) -- _showRational 30 n)
ppSP = ppChar ' '