diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2011-05-26 17:19:18 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2011-05-26 17:19:18 +0100 |
commit | 3afdf90d0f9fb18f13a6b76fe41e5fc60bbdaac3 (patch) | |
tree | 70e7ece16dfdfdf62b4e84a170d357a39370c93d /compiler/NOTES | |
parent | 80f5e7009434750cee746bd89f7eea5f7c7fa3fd (diff) | |
download | haskell-3afdf90d0f9fb18f13a6b76fe41e5fc60bbdaac3.tar.gz |
Treat the (~) type constructor a bit specially
when kind-checking in Core Lint. It's unusual
becuase it is poly-kinded; for example
(~) Int a
and (~) Maybe b
are both ok. We don't want the full generality
of kind polymorphism (yet anyway) so these changes
in effect give (~) its own private kinding rule.
It won't work right if (~) appears un-saturated,
and Lint now checks for that too.
Diffstat (limited to 'compiler/NOTES')
0 files changed, 0 insertions, 0 deletions