projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fed91d4
)
[project @ 1997-07-25 22:41:46 by sof]
author
sof
<unknown>
Fri, 25 Jul 1997 22:41:46 +0000
(22:41 +0000)
committer
sof
<unknown>
Fri, 25 Jul 1997 22:41:46 +0000
(22:41 +0000)
moved Outputable Int instance to Outputable
ghc/compiler/simplCore/SimplMonad.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/simplCore/SimplMonad.lhs
b/ghc/compiler/simplCore/SimplMonad.lhs
index
bb48d8f
..
d0b4358
100644
(file)
--- a/
ghc/compiler/simplCore/SimplMonad.lhs
+++ b/
ghc/compiler/simplCore/SimplMonad.lhs
@@
-210,10
+210,6
@@
showSimplCount (SimplCount _ stuff (_, unf1, unf2))
shw ((t,n):tns) | n /= 0 = show t ++ ('\t' : show n) ++ ('\n' : shw tns)
| otherwise = shw tns
- -- ToDo: move to Outputable
-instance Outputable Int where
- ppr sty n = int n
-
zeroSimplCount :: SimplCount
zeroSimplCount
= SimplCount ILIT(0) stuff (0, [], [])