Time for an 2014 update…

This commit is contained in:
Ingy döt Net 2014-01-17 05:32:22 +00:00
parent 372c577f83
commit 09687c4926
2520 changed files with 34227 additions and 7318 deletions

View file

@ -0,0 +1,3 @@
set :Δ 1
set :Δ ++ Δ
!. Δ

View file

@ -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.

View file

@ -0,0 +1,12 @@
?- .
true.
?- 不是.
false.
?- test(X,Y).
X = boy,
Y = delta.
?- test2(1,Result).
Result = 2.