Reimplement Unify.typesCantMatch in terms of apartness.
Because typesCantMatch must also work with type functions, this requires teaching the unifier about type functions and injectivity. Also, some refactoring to use the UM monad more.
Please register or sign in to comment