Class WriteCanonical

java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.io.WriteCanonical
All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory

public final class WriteCanonical extends AbstractSingleResultPredicate
write_canonical(X) - writes a term to the output stream.

Writes the term X to the current output stream. write_canonical does not take account of current operator declarations - thus any structures are printed out with the functor first and the arguments in brackets.

Succeeds only once.