Can you please explain Where You Use + Operator In Prolog?

Category: PrologCan you please explain Where You Use + Operator In Prolog?
Editor">Editor Staff asked 2 years ago

Can you please explain Where You Use + Operator In Prolog?

1 Answers
Editor">Editor Staff answered 2 years ago

Operator + can be used to negate goals; these are either sub-goals in the body of a rule or sub-goals of a query. We cannot negate facts or the heads of rules.