diff --git a/pldoc.doc b/pldoc.doc index 1ca7b63..deb8452 100644 --- a/pldoc.doc +++ b/pldoc.doc @@ -184,17 +184,21 @@ HTML or LaTeX. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Type and mode declarations} +\section{Type, mode and determinism declaration headers} \label{sec:modes} -The type and mode declaration header consists of one or more Prolog -terms. Each term describes a mode of the predicate. The syntax is -informally described below: +Many predicates can sensibly be called in different ways, e.g. with a +specific argument as input or as output. The header of the documentation +of a predicate consists of one or more \jargon{templates}, each +representing a specific way of calling the predicate. + +A template can contain information about types, argument instantiation +patterns, determinism and more. The syntax is informally described below: \begin{center} \begin{tabular}{lrl} \hline - \isa ['//'] 'is' \\ +