-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
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
rules with equality in body (sometimes) not processed? #5
Comments
Hi Alan, We will update the Graal documentation to be explicit with this behavior. Thanks |
Ok. You might consider throwing an unsupported feature exception in the parser if equality is used - it's an easy thing to miss, even if documented, and using = as a regular predicate isn't typical behavior. Thanks! |
We can't just throw an exception in the parser because we want to let users the possibility to handle them. However, I agree with you, it's an easy thing to miss even if documented. I take note of your comment. |
…with an equality atom (not yet managed).
I'm trying to track down why I'm getting fewer facts with graal than with my previous solution. I think I've narrowed it down to rules like the below.
It's a stupid use of =. While a person wouldn't write these rules, the process that generates them is more stupid and currently does.
I could fix the rules by doing the = substitution as pre-process
I may land up doing that to detect (effectively) duplicate rules. But still, it would be good to know if this is a known issue/expected behavior or bug.
Thanks
The text was updated successfully, but these errors were encountered: