projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1997-08-25 22:22:31 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
utils
/
Outputable.lhs
diff --git
a/ghc/compiler/utils/Outputable.lhs
b/ghc/compiler/utils/Outputable.lhs
index
8dc611b
..
f7fb7fc
100644
(file)
--- a/
ghc/compiler/utils/Outputable.lhs
+++ b/
ghc/compiler/utils/Outputable.lhs
@@
-130,6
+130,9
@@
instance Outputable Bool where
ppr sty True = ptext SLIT("True")
ppr sty False = ptext SLIT("False")
+instance Outputable Int where
+ ppr sty n = int n
+
instance (Outputable a) => Outputable [a] where
ppr sty xs = brackets (fsep (punctuate comma (map (ppr sty) xs)))