Skip to content

Chapter 9 operators exercise issue. #47

Open
@nicoabie

Description

@nicoabie

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions