Type inference with constraints

These papers explore type inference using constraints. See also papers about GADTs and about type families.