nfrisby / frags

Plugin gonna getcha, row types
0 stars 1 forks source link

Switch `EqFrag` to a class under 15009 circumstances #28

Open nfrisby opened 5 years ago

nfrisby commented 5 years ago

See #26 for context.

When a Given EqFrag l r ~ '() has a LHS that is a sko bound by the current (i.e. innermost) implication, we should demote it to a CDictCan so that ~ constraints can float out from under it.

This seems risky: when moving to a deeper level, what if GHC floats the ~ constraints before giving us a chance to turn the constraint back into a float-blocking EqFrag?