typo fix in prolog.html.markdown

This commit is contained in:
Erik Thorelli 2019-06-19 14:01:48 -04:00 committed by GitHub
parent 592901be9c
commit bee7c2b229
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ magicNumber(42).
?- 2 = 3. % False - equality test ?- 2 = 3. % False - equality test
?- X = 3. % X = 3 - assignment ?- X = 3. % X = 3 - assignment
?- X = 2, X = Y. % X = Y = 2 - two assignments ?- X = 2, X = Y. % X = Y = 2 - two assignments
% Note Y is assigned to, even though it is % Note Y is assigned too, even though it is
% on the right hand side, because it is free % on the right hand side, because it is free
?- X = 3, X = 2. % False ?- X = 3, X = 2. % False
% First acts as assignment and binds X=3 % First acts as assignment and binds X=3