<commit_before> 
:- object(loop,
	implements(loopp)).

	:- info([
		version is 1.1,
		author is '<NAME>',
		date is 2006/9/17,
		comment is 'Loop control structures predicates.']).

	:- meta_predicate(dowhile(::, ::)).
	dowhile(Action, Condition) :-
		\+ \+ call(Action),
		whiledo(Condition, Action).

	:- meta_predicate(whiledo(::, ::)).
	whiledo(Condition, Action) :-
		(	call(Condition) ->
			\+ \+ call(Action),
			whiledo(Condition, Action)
		;	true
		).

	:- meta_predicate(forto(*, *, ::)).
	forto(First, Last, Call) :-
		(	First =< Last ->
			\+ \+ call(Call),<commit_msg>Corrected wrong order of meta_predicate/1 directives.<commit_after> 
:- object(loop,
	implements(loopp)).

	:- info([
		version is 1.1,
		author is '<NAME>',
		date is 2006/9/17,
		comment is 'Loop control structures predicates.']).

	:- meta_predicate(whiledo(::, ::)).
	whiledo(Condition, Action) :-
		(	call(Condition) ->
			\+ \+ call(Action),
			whiledo(Condition, Action)
		;	true
		).

	:- meta_predicate(dowhile(::, ::)).
	dowhile(Action, Condition) :-
		\+ \+ call(Action),
		whiledo(Condition, Action).

	:- meta_predicate(forto(*, *, ::)).
	forto(First, Last, Call) :-
		(	First =< Last ->
			\+ \+ call(Call),
{'fraction_non_alphanumeric': 0.2096505823627288, 'fraction_numerical': 0.015806988352745424, 'mean_word_length': 3.3905109489051095, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7272548', 'n_tokens_mistral': 516, 'n_tokens_neox': 449, 'n_words': 84}