Did you know ... | Search Documentation: |
Pack ddebug -- prolog/prooftree.pl |
g(Frame, Level, Goal, CRef, Complete, Children)
Here, Frame is the reference to the Prolog stack frame that ran the goal. This has no meaning to the user. Level is the nesting depth of the call, Goal is the executed goal as it is after the entire derivation succeeded, CRef is the clause that produced this answer, Complete is internal (means we have seen the "exit" port) and Children is a list of children in reverse order.
Re-satisfying re-satisfies Goal and on success Tree reflects the proof tree of the new answer.
The following predicates are exported, but not or incorrectly documented.