mangle icon indicating copy to clipboard operation
mangle copied to clipboard

Nicer error message when a predicate is referenced with wrong arity

Open burakemir opened this issue 2 years ago • 0 comments

When a rule body refers to predicate foo(X1,...,Xn) but foo has arity m != n, the error message currently says "could not find predicate".

It would be nicer to check whether there is a predicate with the same name, and suggest to use it.

burakemir avatar Dec 28 '23 10:12 burakemir