Can we offer ~ without GADTs or type families?

David Feuer david.feuer at gmail.com
Fri Aug 5 18:08:00 UTC 2016


It seems to me that equality constraints could potentially be supported by
an implementation with neither GADTs nor type families. Type families don't
really seem to have much to do with it, and GADTs are strictly heavier
(GADTs ~= ExistentialQuantification + TypeEquality).

Could we get a separate LANGUAGE pragma just for equality constraints?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160805/e006d0ea/attachment.html>


More information about the ghc-devs mailing list