learn-prolog-now-exercises icon indicating copy to clipboard operation
learn-prolog-now-exercises copied to clipboard

Chapter 9 operators exercise issue.

Open nicoabie opened this issue 5 years ago • 0 comments

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?

nicoabie avatar Mar 04 '19 22:03 nicoabie