|Did you know ...||Search Documentation:|
print(Term) :- current_prolog_flag(print_write_options, Options), !, write_term(Term, Options). print(Term) :- write_term(Term, [ portray(true), numbervars(true), quoted(true) ]).
The classical definition of this predicate is equivalent to the ISO
using the options
allows the user to implement application-specific printing of terms
printed during debugging to facilitate easy understanding of the output.
library(portray_text). SWI-Prolog adds
to (1) facilitate the copying/pasting of terms that are not affected by
and to (2) allow numbers, atoms and strings to be more easily