Documentation Prolog Predicate Reference builtin call/6

call/6

Invoke a callable term as a goal with five extra arguments.

Description

call( +callable_term, +term, +term, +term, +term, +term )

call(Goal, ExtraArg, ExtraArg1, ExtraArg2, ExtraArg3, ExtraArg4) is true if and only if Goal represents a goal which is true after appending ExtraArg, ExtraArg1, ExtraArg2, ExtraArg3 and ExtraArg4 to its list of arguments.

Implementation