Expand description

Types unification

Structs

Functions

  • Performs pairwise type unification making sure each type variable is equally substituted in all items.
  • Finds a substitution subst of type variables such that unify_types(t1.with_subst(subst), t2) == Ok(emptySubst)