Availability:built-in
import(+PredicateIndicator,
...)Import predicates PredicateIndicator into the current context
module. PredicateIndicator must specify the source module
using the <module>:<pi> construct.
Note that predicates are normally imported using one of the directives use_module/[1,2].
The import/1
alternative is meant for handling imports into dynamically created
modules. See also export/1
and export_list/2.