More GND + role inference woes

Edward Kmett ekmett at gmail.com
Sun Oct 13 21:26:48 UTC 2013


Ben Gamari was trying to update my linear package to work with GHC HEAD.

Along the way he noted an example of the new GND+role inference machinery
failing rather spectacularly.

http://hackage.haskell.org/package/linear-1.3/docs/src/Linear-Affine.html#Point

Note the number of classes that the current proposal would force us to hand
implement.

=(

-Edward
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131013/d9ce3e83/attachment.html>


More information about the ghc-devs mailing list