The following properties are associated with predicates either implicitly or by declaration:
built_in
compiled
interpreted
fd_constraint
dynamic
volatile
multifile
block(
SkeletalGoal)
meta_predicate(
SkeletalGoal)
The SkeletalGoal will contain :
(colon) for meta-arguments
and ?
for non-meta-arguments, regardless of the specifications
used in the original meta-declaration. In particular, if an integer
was used, a colon will appear in its place in SkeletalGoal.
exported
imported_from(
Module)
Every predicate has exactly one of the properties
[built_in, compiled, interpreted, fd_constraint]
,
at most one of the properties
[exported, imported_from(
SkeletalGoal)]
,
zero or more block(
SkeletalGoal)
properties,
and at most one of the remaining properties.
To query these associations, use predicate_property/2
. The
reference page contains several examples.