jcpetruzza / barbies

BSD 3-Clause "New" or "Revised" License
92 stars 15 forks source link

ConstraintsB can express constraints over c a #3

Closed jcpetruzza closed 6 years ago

jcpetruzza commented 6 years ago

The ConstraintsB class was defining an associated type ConstraintsOf that one could use to get constraints of the form c (f a). We now use a more general mechanism and make ConstraintsB a type alias for backwards compatiblity.

The way things now work is as follows:

Credit goes to Csongor Kiss for this very nice formulation.

jcpetruzza commented 6 years ago

@kcsongor want to give it a look?

kcsongor commented 6 years ago

Looks very good 👍