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.

Template and modes

calls(+protocol_identifiers)

Examples

:- calls(comparingp).