You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we ignore the Warning: Clauses are not together in the source-file for Prolog solutions?
I have cases where the students must add new clauses for a given predicate or in particulars exercises adding examples in extra code. This warning appears until the exercise is done and it's very annoying and confused.
The text was updated successfully, but these errors were encountered:
Hi @PalumboN, i just found something that may be of your interest! It is a predicate of arity 1 named discontiguous, which pretty much resolves this issue.
It informs Prolog that the predicate given by parameter is not defined alltogether in the source file (or at least that describes in the documentation).
Hi @PalumboN, i just found something that may be of your interest! It is a predicate of arity 1 named discontiguous, which pretty much resolves this issue.
I like this solution, since It is not trivial to know which predicates are expected to be extended by student and which not. @PalumboN please try this solution and close this issue.
Can we ignore the
Warning: Clauses are not together in the source-file
for Prolog solutions?I have cases where the students must add new clauses for a given predicate or in particulars exercises adding examples in extra code. This warning appears until the exercise is done and it's very annoying and confused.
The text was updated successfully, but these errors were encountered: