Did you know ... | Search Documentation: |
Predicate intercept/4 |
call(Copy,Arg)
, which allows passing large context
arguments or arguments subject to unification or destructive
assignment. For example:
?- intercept(send_signal(x), X, Y=X). true. ?- intercept(send_signal(x), X, =(X), Y). Y = x.