Author(s): Manuel Carro, Daniel Cabeza.
Version: 1.11#222 (2004/5/24, 13:8:7 CEST)
Version of last change: 1.3#95 (1999/11/8, 18:37:30 MET)
This module implements some miscellaneous non-logical (but sometimes very useful) predicates.
odd
)odd
)
Usage: setarg(Index, Term, NewArg)
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.
Index
is currently instantiated to an integer.
(term_typing:integer/1
)
Term
is a compound term.
(basic_props:struct/1
)
NewArg
is any term.
(basic_props:term/1
)
Index
is currently instantiated to an integer.
(term_typing:integer/1
)
Term
is a compound term.
(basic_props:struct/1
)
NewArg
is any term.
(basic_props:term/1
)
Meta-predicate with arguments: undo(goal)
.
Usage: undo(Goal)
call(Goal
)
is executed on backtracking. This is a major change to the normal
control of Ciao Prolog execution.
Goal
is a term which represents a goal, i.e., an atom or a structure.
(basic_props:callable/1
)
Goal
is a term which represents a goal, i.e., an atom or a structure.
(basic_props:callable/1
)
Go to the first, previous, next, last section, table of contents.