Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
% Unicode in predicate names:
|
||||
是. % be: means, approximately, "True".
|
||||
不是 :- \+ 是. % not be: means, approximately, "False". Defined as not 是.
|
||||
|
||||
% Unicode in variable names:
|
||||
test(Garçon, Δ) :-
|
||||
Garçon = boy,
|
||||
Δ = delta.
|
||||
|
||||
% Call test2(1, Result) to have 2 assigned to Result.
|
||||
test2(Δ, R) :- R is Δ + 1.
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
?- 是.
|
||||
true.
|
||||
|
||||
?- 不是.
|
||||
false.
|
||||
|
||||
?- test(X,Y).
|
||||
X = boy,
|
||||
Y = delta.
|
||||
|
||||
?- test2(1,Result).
|
||||
Result = 2.
|
||||
Loading…
Add table
Add a link
Reference in a new issue