We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following program is rejected by DLV because the rule is not safe:
p(a). q(Y) :- p(X), X=Y.
In DLV, =/2 is considered as a comparison predicate (such as <, >, etc.) which expects both terms to be safe.
However, it is clear that the program can be grounded without any troubles (e.g. by gringo and the internal grounder).
dlvhex shall adopt the latter point of view, but currently this does not work with DLV backend. A possible fix is a rewriting.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following program is rejected by DLV because the rule is not safe:
p(a).
q(Y) :- p(X), X=Y.
In DLV, =/2 is considered as a comparison predicate (such as <, >, etc.) which expects both terms to be safe.
However, it is clear that the program can be grounded without any troubles (e.g. by gringo and the internal grounder).
dlvhex shall adopt the latter point of view, but currently this does not work with DLV backend. A possible fix is a rewriting.
The text was updated successfully, but these errors were encountered: