directive
protocol/1-2
ï
Descriptionï
protocol(Protocol)
protocol(Protocol,
extends(Protocols))
Starting protocol directive.
Template and modesï
protocol(+protocol_identifier)
protocol(+protocol_identifier,
extends(+extended_protocols))
Examplesï
:- protocol(listp).
:- protocol(listp,
extends(compoundp)).
:- protocol(queuep,
extends(protected::listp)).
See also