diff options
author | Richard Eisenberg <rae@richarde.dev> | 2020-12-16 15:05:15 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-12-18 05:55:33 -0500 |
commit | 59a07641090eec9dcaf5af97026b94911ca3191c (patch) | |
tree | dc37dc4801371c51c49584652545dfda05f402d2 /compiler | |
parent | c53b38dd5c1e38517a0c686d2aa9f8187629299c (diff) | |
download | haskell-59a07641090eec9dcaf5af97026b94911ca3191c.tar.gz |
Cite "Kind Inference for Datatypes"
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/GHC/Tc/Utils/TcMType.hs | 3 |
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 |