Logtalk reference manual
Entity directive: calls/1

calls/1

Description

calls(Protocol)
calls((Protocol1, Protocol2, ...))
calls([Protocol1, Protocol2, ...])

Declares the protocol(s) that are called by predicates defined in an object or category. In the current Logtalk version, this is a non-operational directive, which may be used for documentation.

Template and modes

calls(+protocol_identifiers)

Examples

:- calls(comparingp).