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

Chapter 9 operators exercise issue. #47

Open
nicoabie opened this issue Mar 4, 2019 · 0 comments
Open

Chapter 9 operators exercise issue. #47

nicoabie opened this issue Mar 4, 2019 · 0 comments

Comments

@nicoabie
Copy link

nicoabie commented Mar 4, 2019

I belive there is a bug. The current definition has the following outputs:

?- display(p or r and s).
or(p,and(r,s))
true.

Which is ok but:

?- display(p and r or s).
and(p,or(r,s))
true.

Which is not.

Can we agree on some test cases to look for a correct solution?

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