In “cuts” What Is The Parent Goal In Prolog?

DWQA QuestionsCategory: PrologIn “cuts” What Is The Parent Goal In Prolog?
Editor Staff asked 10 months ago

In “cuts” What Is The Parent Goal In Prolog?

1 Answers
Editor Staff answered 10 months ago

When running the subgoals in a rule’s body, the parent goal is referred to the goal that caused the matching of the head of the current rule.