Skip to content
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

fact-like rule using functor #2262

Merged
merged 1 commit into from
Apr 26, 2022
Merged

Conversation

quentin
Copy link
Member

@quentin quentin commented Apr 19, 2022

Hi,
This is a fix of the semantic checker to allow fact-like rules to use functors.

Basically these two rules are equivalent and both should be accepted:

x(a) :- a = @f().  // accepted
x(@f()).   // was not accepted, now fixed

Copy link
Member

@b-scholz b-scholz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@b-scholz b-scholz merged commit 04a5fb7 into souffle-lang:master Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants