scopedSort and kind variable left-biasing

Ryan Scott ryan.gl.scott at gmail.com
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
`extractDataDefnKindVars`

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

Ryan S.
-----
[1] https://gitlab.haskell.org/ghc/ghc/merge_requests/361#note_6709
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190215/36903790/attachment.html>


More information about the ghc-devs mailing list