mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-25 22:38:04 +02:00
Abschnitt über Arithmetik in Prolog hinzugefügt; misc
This commit is contained in:
parent
82dd24d55b
commit
80e8df59d6
20 changed files with 194 additions and 27 deletions
|
@ -0,0 +1,10 @@
|
|||
?- X is 3^2.
|
||||
X = 9.
|
||||
|
||||
?- Y is X*X.
|
||||
ERROR: is/2: Arguments are not sufficiently
|
||||
instantiated
|
||||
|
||||
?- X is X+1.
|
||||
ERROR: is/2: Arguments are not sufficiently
|
||||
instantiated
|
Loading…
Add table
Add a link
Reference in a new issue