4.9 Meta-Call Predicates
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Built-in Predicates
Meta-Call Predicates
call/1
call/2
apply/2
not/1
once/1
ignore/1
call_with_depth_limit/3
call_with_inference_limit/3
setup_call_cleanup/3
setup_call_catcher_cleanup/4
call_cleanup/2
call_cleanup/3
Packages
Availability:
built-in
apply
(
:Goal, +List
)
Append the members of
List
to the arguments of
Goal
and call the resulting term. For example:
apply(plus(1), [2, X])
calls
plus(1, 2, X)
. New code should use call/[2..] if the length of
List
is fixed.