Safe Haskell | Safe-Inferred |
---|
Documentation
apply :: Ord v => Subst f v -> Term f v -> Term f vSource
Apply a substitution, assuming that it's the identity on variables not mentionend in the substitution.
gApply :: Ord v => GSubst v f v' -> Term f v -> Maybe (Term f v')Source
Apply a substitution, assuming that it's total. If the term contains
a variable not defined by the substitution, return Nothing
.