Documentation Prolog Predicate Reference builtin write_canonical/1

write_canonical/1

Write Prolog term to current output stream in canonical form.

Description

write_canonical( +term )

write_terminal(Term) writes the Prolog term Term into the current output stream using standard parenthesised prefix notation and quoting atoms which need quotes.

Implementation