projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2004-03-11 14:34:22 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
typecheck
/
TcEnv.lhs
diff --git
a/ghc/compiler/typecheck/TcEnv.lhs
b/ghc/compiler/typecheck/TcEnv.lhs
index
cf86e56
..
cb2eb28
100644
(file)
--- a/
ghc/compiler/typecheck/TcEnv.lhs
+++ b/
ghc/compiler/typecheck/TcEnv.lhs
@@
-47,7
+47,7
@@
module TcEnv(
#include "HsVersions.h"
#include "HsVersions.h"
-import HsSyn ( LRuleDecl, LHsBinds, LSig )
+import HsSyn ( LRuleDecl, LHsBinds, LSig, pprLHsBinds )
import TcIface ( tcImportDecl )
import TcRnMonad
import TcMType ( zonkTcType, zonkTcTyVar, zonkTcTyVarsAndFV )
import TcIface ( tcImportDecl )
import TcRnMonad
import TcMType ( zonkTcType, zonkTcTyVar, zonkTcTyVarsAndFV )
@@
-601,7
+601,7
@@
pprInstInfo info = vcat [ptext SLIT("InstInfo:") <+> ppr (idType (iDFunId info))
pprInstInfoDetails info = pprInstInfo info $$ nest 2 (details (iBinds info))
where
pprInstInfoDetails info = pprInstInfo info $$ nest 2 (details (iBinds info))
where
- details (VanillaInst b _) = ppr b
+ details (VanillaInst b _) = pprLHsBinds b
details (NewTypeDerived _) = text "Derived from the representation type"
simpleInstInfoTy :: InstInfo -> Type
details (NewTypeDerived _) = text "Derived from the representation type"
simpleInstInfoTy :: InstInfo -> Type