Class TermHelpers
java.lang.Object
edu.harvard.seas.pl.abcdatalog.ast.TermHelpers
A utility class for common operations on terms.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
fold
(Term[] terms, TermVisitor<T, T> tv, T init) static <T> T
fold
(Iterable<Term> terms, TermVisitor<T, T> tv, T init) static boolean
unify
(Term u, Term v, ConstOnlySubstitution s) static boolean
unify
(Term u, Term v, TermUnifier s)
-
Method Details
-
fold
-
fold
-
unify
-
unify
-