Logtalk reference manual
Entity directive: uses/1

uses/1

Description

uses(Object)

Declares an object that receives messages from predicates defined in the category or object containing the directive. In the current Logtalk version, this is a non-operational directive, which may be used for documentation. Nevertheless, the compiler will warn you of any unknown object referenced using this directive when an entity containing it is compiled. In a forthcoming release, this directive will likely be used to support object namespaces.

Template and modes

uses(+object_identifier)

Examples

:- uses(list).