summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@richarde.dev>2020-12-16 15:05:15 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-12-18 05:55:33 -0500
commit59a07641090eec9dcaf5af97026b94911ca3191c (patch)
treedc37dc4801371c51c49584652545dfda05f402d2 /compiler
parentc53b38dd5c1e38517a0c686d2aa9f8187629299c (diff)
downloadhaskell-59a07641090eec9dcaf5af97026b94911ca3191c.tar.gz
Cite "Kind Inference for Datatypes"
Diffstat (limited to 'compiler')
-rw-r--r--compiler/GHC/Tc/Utils/TcMType.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/GHC/Tc/Utils/TcMType.hs b/compiler/GHC/Tc/Utils/TcMType.hs
index e688dd5685..9ced918756 100644
--- a/compiler/GHC/Tc/Utils/TcMType.hs
+++ b/compiler/GHC/Tc/Utils/TcMType.hs
@@ -1229,6 +1229,9 @@ We do this eager erroring in candidateQTyVars, which always precedes
generalisation, because at that moment we have a clear picture of what
skolems are in scope within the type itself (e.g. that 'forall arg').
+This change is inspired by and described in Section 7.2 of "Kind Inference
+for Datatypes", POPL'20.
+
Wrinkle:
We must make absolutely sure that alpha indeed is not