ekmett / adjunctions

Simple adjunctions
http://hackage.haskell.org/package/adjunctions
Other
44 stars 27 forks source link

Add support for generic deriving #34

Closed treeowl closed 7 years ago

treeowl commented 7 years ago

This is a version of #12 demonstrating how to break type checker loops. It also goes a bit wild with coercions. It'll need more CPP to work on earlier GHC versions!

treeowl commented 7 years ago

Oh yes, it also removes unnecessary Distributive constraints that snuck in somehow.

treeowl commented 7 years ago

RyanGLScott has some valid criticisms of this particular version and will be submitting his own, after which I'll install the necessary coercions.