projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2001-04-26 13:52:57 by simonmar]
[ghc-hetmet.git]
/
ghc
/
compiler
/
types
/
TypeRep.lhs
diff --git
a/ghc/compiler/types/TypeRep.lhs
b/ghc/compiler/types/TypeRep.lhs
index
1770772
..
d48bcac
100644
(file)
--- a/
ghc/compiler/types/TypeRep.lhs
+++ b/
ghc/compiler/types/TypeRep.lhs
@@
-163,7
+163,7
@@
Here the "Eq a" and "?x :: Int -> Int" and "r\l" are all called *predicates*
Predicates are represented inside GHC by PredType:
\begin{code}
-data PredType = Class Class [Type]
+data PredType = ClassP Class [Type]
| IParam Name Type
\end{code}