scopedSort and kind variable left-biasing

Ryan Scott at
Fri Feb 15 15:50:57 UTC 2019

As Vlad notes in [1], getting rid of FreeKiTyVars isn't as simple as it
would appear, as we still treat kinds and types differently in other
places, such as data type declarations. For instance:

    data Proxy (a :: k) = Proxy -- k is brought into scope implicitly by

I don't know how to overcome this awkwardness, so if you have suggestions,
please comment at [1].

Ryan S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list