mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
typo fix in prolog.html.markdown
This commit is contained in:
parent
592901be9c
commit
bee7c2b229
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user