[tutor] Update assignment

This commit is contained in:
tolauwae 2025-03-30 21:56:24 +02:00
parent 39c3af4ba5
commit ca687c0136
No known key found for this signature in database
GPG key ID: 20E068EB5B132116
18 changed files with 438 additions and 14 deletions

View file

@ -0,0 +1,9 @@
leq(0, _).
leq(s(X), s(Y)) :- leq(X, Y).
:- initialization(main).
main :-
leq(X, s(s(s(0)))),
write(X), nl,
fail.