[Haskell-cafe] Closed classes

Imants Cekusins imantc at gmail.com
Thu Feb 18 00:21:41 UTC 2016

This would be very useful indeed.

Can closed type families not be used to achieve the same result even now,

I tried to use type families recently to explicitly pick an (otherwise
overlapping) instance in specified order but could not figure out, how.

If someone could give a complete simple example of primary intended use of
closed type families with class instances,  this would help a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160218/bbe59e1f/attachment.html>

More information about the Haskell-Cafe mailing list