Closed jstolarek closed 9 years ago
type family C a b
type instance C Int b = Int
type instance C a Bool = a
Will my algorithm detect correctly that this is not injective? EDIT: Richard's criterion that all tyvars declared on LHS should be on the RHS should deal with this.
#6018
Short-term todos:
Questions:
axF[2] <*> <Maybe> <Int> :: F (Maybe Int) ~ Char
from Note [Coercion axiom branches] in CoAxiom.lhs