Predicates related to formatting and printing output. This includes predicates that may be used for warning and error output.
#pred Spec :: Template.
directive.
AtomSpec-Children
, where
Children is one of
-
, e.g. [p(X)|-]
, all non-matched
children are discarded.-
. All children are discarded.*
. This is the default of there are no children
and causes the node to be processed normally.
Each AtomSpec is either a plain Atom, one wrapped, -(Atom)
not(Atom)
or not(-(Atom))
. A condition may be added to an Atom
as a conjunction, e.g., this denotes the atom p(X)
, but only if X
is an integer.
:- pred (p(X),integer(X)) :: "bla bla {{X}}".