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

Correction in the occurs check explanation #7

Open
nicoabie opened this issue Dec 30, 2018 · 0 comments
Open

Correction in the occurs check explanation #7

nicoabie opened this issue Dec 30, 2018 · 0 comments

Comments

@nicoabie
Copy link

Given the example ?- father(X) = X. it states that:

Because the left hand term is the variable X , by clause 2 it decides that the terms do unify, and (in accordance with clause 2) instantiates X to the right hand side, namely father(X) .

I think it should say:

Because the right hand term is the variable X , by clause 2 it decides that the terms do unify, and (in accordance with clause 2) instantiates X to the left hand side, namely father(X) .

Left and right seems to be swapped.

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