Explain non_counted_backtracking a little bit more

This commit is contained in:
Aleksy Grabowski
2024-09-06 08:15:45 +02:00
parent 12a61cdff8
commit c922ed8b0a
2 changed files with 8 additions and 3 deletions

View File

@@ -223,6 +223,7 @@ run_cleaners_without_handling(Cp) :-
%% call_with_inference_limit(Goal, Limit, Result).
%
% Similar to `call(Goal)` but it limits the number of inferences for each solution of Goal.
% Calls to it may be nested, but only the last limit will be in power.
call_with_inference_limit(G, L, R) :-
( integer(L) ->
( L < 0 ->