Next: mpg-ref-call_cleanup, Previous: mpg-ref-byte_count, Up: mpg-bpr [Contents][Index]
call/[1,2,...,255]
ISOcall(+P)
Proves (executes) P.
call(+P,?Q,...)
Executes the goal obtained by augmenting P by the remaining arguments.
callable, must be nonvar
term ...
If P is instantiated
to an atom or compound term, then the goal call(P)
is
executed exactly as if that term appeared textually in its place,
except that any cut (‘!’) occurring in P only cuts alternatives
in the execution of P. Only call/1..8
are required by ISO.
Depends on P.
Call errors (see ref-sem-exc).
maplist/2
in library(lists)
is defined as:
maplist(Pred, Xs) :- ( foreach(X,Xs), param(Pred) do call(Pred, X) ).