summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/TyCon.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Core/TyCon.hs')
-rw-r--r--compiler/GHC/Core/TyCon.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/GHC/Core/TyCon.hs b/compiler/GHC/Core/TyCon.hs
index e50751c2a0..6514b68aaf 100644
--- a/compiler/GHC/Core/TyCon.hs
+++ b/compiler/GHC/Core/TyCon.hs
@@ -1184,7 +1184,9 @@ data AlgTyConRhs
-- See Note [Newtype eta]
nt_co :: CoAxiom Unbranched,
-- The axiom coercion that creates the @newtype@
- -- from the representation 'Type'.
+ -- from the representation 'Type'. The axiom witnesses
+ -- a representational coercion:
+ -- nt_co :: N ty1 ~R# rep_tys
-- See Note [Newtype coercions]
-- Invariant: arity = #tvs in nt_etad_rhs;