Class Fold

java.lang.Object
org.projog.core.predicate.AbstractPredicateFactory
org.projog.core.predicate.builtin.list.Fold
All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory, PreprocessablePredicateFactory

public final class Fold extends AbstractPredicateFactory implements PreprocessablePredicateFactory
foldl(PredicateName, Values, Start, Result) - combines elements of a list into a single term.

See Wikipedia.