feat: Cut
This commit is contained in:
parent
6469dd6ced
commit
229a8bbc3c
7 changed files with 294 additions and 81 deletions
|
@ -1,3 +1,2 @@
|
|||
a.
|
||||
f(a).
|
||||
f(X, _) :- X.
|
||||
not_equal(X, Y) :- X = Y, !, fail.
|
||||
not_equal(_, _).
|
Reference in a new issue