Companion
Substitution companion with factory functionality
Functions
Returns an empty unifier, i.e. an instance of type Substitution.Fail
Returns a failed substitution, i.e. an instance of type Substitution.Fail
Crates a Substitution from the given Iterable of Var-Terms. If any contradiction is found, an instance of Substitution.Fail is returned
Crates a Substitution from the given Sequence of Var-Terms. If any contradiction is found, an instance of Substitution.Fail is returned
Composes the provided Substitutions by merging them. If any failure or contradiction is found, the result will be Substitution.Fail
Crates a Substitution from the given Var-Terms. If any contradiction is found, an instance of Substitution.Fail is returned
Crates a Unifier from the given Iterable of Var-Terms. If any contradiction is found, a SubstitutionException is thrown
Crates a Unifier from the given Sequence of Var-Terms. If any contradiction is found, a SubstitutionException is thrown
Crates a Substitution from the given Var-Terms. If any contradiction is found, a SubstitutionException is thrown