alias/3
alias(Entity, Predicate, Alias)Declares predicate alias. A predicate alias is an alternative name for a predicate declared or defined in an implemented protocol, an imported category, an extended prototype, an instantiated class, or a specialized class. Predicate alias may be used to solve conflicts between imported or inherited predicates. This directive may be used in objects, protocols, and categories.
alias(@entity_identifier, +predicate_indicator, +predicate_indicator)
:- alias(list, member/2, list_member/2). :- alias(set, member/2, set_member/2).