use anonymous variable

This commit is contained in:
Markus Triska
2021-12-01 20:54:06 +01:00
parent 7abdade7c1
commit 0026f3fdef

View File

@@ -954,7 +954,7 @@ retract_module_clause(Head, Body, Module) :-
). ).
first_match_index([Clause | Clauses], Clause, N, N) :- first_match_index([Clause | _], Clause, N, N) :-
!. !.
first_match_index([_ | Clauses], Clause, N0, N) :- first_match_index([_ | Clauses], Clause, N0, N) :-
N1 is N0 + 1, N1 is N0 + 1,