add type alias for HashMapSubst

This commit is contained in:
Michael Sippel 2025-06-01 16:22:46 +02:00
parent 08a9bad0ad
commit ed9f309306
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -22,6 +22,8 @@ impl Substitution for std::collections::HashMap< TypeID, TypeTerm > {
}
}
pub type HashMapSubst = std::collections::HashMap< TypeID, TypeTerm >;
impl TypeTerm {
/// recursively apply substitution to all subterms,
/// which will replace all occurences of variables which map