summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2011-12-05 04:01:36 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2011-12-05 04:01:36 +0000
commit22b317b1812cbb35d86872d7607de034bcf66fb2 (patch)
treef8464073592b128d1c86f5cb348afaf518eef522 /compiler
parentbed4ec57d92d0730ecd03c04b6bf06475ed006db (diff)
downloadhaskell-22b317b1812cbb35d86872d7607de034bcf66fb2.tar.gz
Comments only: EqVar vs Covar
Diffstat (limited to 'compiler')
-rw-r--r--compiler/basicTypes/Var.lhs9
1 files changed, 4 insertions, 5 deletions
diff --git a/compiler/basicTypes/Var.lhs b/compiler/basicTypes/Var.lhs
index 8e31fef8ea..d7caf2a521 100644
--- a/compiler/basicTypes/Var.lhs
+++ b/compiler/basicTypes/Var.lhs
@@ -122,14 +122,13 @@ Note [Evidence: EvIds and CoVars]
* An EvId (evidence Id) is a *boxed*, term-level evidence variable
(dictionary, implicit parameter, or equality).
-* DictId, IpId, and EqVar are synonyms when we know what kind of
- evidence we are talking about. For example, an EqVar has type (t1 ~ t2).
-
* A CoVar (coercion variable) is an *unboxed* term-level evidence variable
of type (t1 ~# t2). So it's the unboxed version of an EqVar.
-* Only CoVars can occur in Coercions (but NB the LCoercion hack; see
- Note [LCoercions] in Coercion).
+* Only CoVars can occur in Coercions, EqVars appear in TcCoercions.
+
+* DictId, IpId, and EqVar are synonyms when we know what kind of
+ evidence we are talking about. For example, an EqVar has type (t1 ~ t2).
Note [Kind and type variables]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~