projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document TypeRep and follow OccName change
[ghc-hetmet.git]
/
compiler
/
types
/
Class.lhs
diff --git
a/compiler/types/Class.lhs
b/compiler/types/Class.lhs
index
051bef1
..
fb7cab1
100644
(file)
--- a/
compiler/types/Class.lhs
+++ b/
compiler/types/Class.lhs
@@
-17,8
+17,6
@@
module Class (
classBigSig, classExtraBigSig, classTvsFds, classSCTheta
) where
classBigSig, classExtraBigSig, classTvsFds, classSCTheta
) where
-#include "HsVersions.h"
-
import {-# SOURCE #-} TyCon ( TyCon )
import {-# SOURCE #-} TypeRep ( PredType )
import {-# SOURCE #-} TyCon ( TyCon )
import {-# SOURCE #-} TypeRep ( PredType )
@@
-27,6
+25,7
@@
import Name
import BasicTypes
import Unique
import Outputable
import BasicTypes
import Unique
import Outputable
+import FastString
\end{code}
%************************************************************************
\end{code}
%************************************************************************
@@
-175,9
+174,9
@@
instance Outputable DefMeth where
pprFundeps :: Outputable a => [FunDep a] -> SDoc
pprFundeps [] = empty
pprFundeps :: Outputable a => [FunDep a] -> SDoc
pprFundeps [] = empty
-pprFundeps fds = hsep (ptext SLIT("|") : punctuate comma (map ppr_fd fds))
+pprFundeps fds = hsep (ptext (sLit "|") : punctuate comma (map ppr_fd fds))
where
where
- ppr_fd (us, vs) = hsep [interppSP us, ptext SLIT("->"),
+ ppr_fd (us, vs) = hsep [interppSP us, ptext (sLit "->"),
interppSP vs]
\end{code}
interppSP vs]
\end{code}