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

Support variable / term at guard conditions #4

Open
fogfish opened this issue Aug 28, 2016 · 0 comments
Open

Support variable / term at guard conditions #4

fogfish opened this issue Aug 28, 2016 · 0 comments

Comments

@fogfish
Copy link
Owner

fogfish commented Aug 28, 2016

Guards supports only literals.

h(a,b,c,x,y) :- f(a,b,c),f(x,b,y), a != 1.
h(a,b,c,x,y) :- f(a,b,c),f(x,b,y), a != x.

** exception error: {badmap,{error,{1,datalog_yeec,
                                    ["syntax error before: ",["x"]]}}}
@fogfish fogfish added the bug label Aug 28, 2016
@fogfish fogfish removed the bug label Sep 27, 2017
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

No branches or pull requests

1 participant