This module implements some miscellaneous non-logical (but sometimes very useful) predicates.
Usage:setarg(Index,Term,NewArg)
Replace destructively argument Index in Term by NewArg. The assignment is undone on backtracking. This is a major change to the normal behavior of data assignment in Ciao Prolog.
Usage:undo(Goal)
call(Goal) is executed on backtracking. This is a major change to the normal control of Ciao Prolog execution.