unify_types

Function unify_types 

Source
pub fn unify_types(t1: &Type, t2: &Type) -> Result<Subst, String>
Expand description

Unify two types, returning a substitution or an error