Function gluon_check::unify_type::subsumes
source · pub fn subsumes(
subs: &Substitution<RcType>,
state: State<'_>,
l: &RcType,
r: &RcType
) -> Result<RcType, (RcType, Errors<Error<Symbol>>)>
Expand description
Performs subsumption between l
and r
(r
is-a l
)