<commit_before>### ![](logo/logo.png) Библиотека

Библиотека представлена модулем `std/`.

* `while(initial: any, checker: closure(result: any): bool, handler: closure(result: any): any): any`;
* `list/` &mdash; модуль для работы со списками:
	* `generate(initial: any, number: num, generator: closure(result: any): any): list<any>`;
	* `generate_while(initial: any, checker: closure(result: any): bool, generator: closure(result: any): any): list<any>`;
	* `for_each(list: list<any>, handler: closure(item: any): nil): nil`;
	* `map(list: list<any>, handler: closure(item: any): any): list<any>`;
	* `filter(list: list<any>, filter: closure(item: any): bool): list<any>`;
	* `reduce(list: list<any>, initial: any, handler: closure(result: any, item: any): any): any`;
	* `zip(list_i: list<any>, list_ii: list<any>, handler: closure(item_i: any, item_ii: any): any): list<any>`;
	* `zip_longest(list_i: list<any>, list_ii: list<any>, handler: closure(item_i: any, item_ii: any): any): list<any>`;
	* `reverse(list: list<any>): list<any>`;
	* `last(list: list<any>): any`;
	* `init(list: list<any>): nil|list<any>`;
	* `find(list: list<any>, comparator: closure(item: any): bool): nil|num`;
	* `find_last(list: list<any>, comparator: closure(item: any): bool): nil|num`;<commit_msg>Issue #135: fix docs<commit_after>### ![](logo/logo.png) Библиотека

Библиотека представлена модулем `std/`.

* `while(initial: any, checker: closure(result: any): bool, handler: closure(result: any): any): any`;
* `list/` &mdash; модуль для работы со списками:
	* `generate(initial: any, number: num, generator: closure(result: any): any): list<any>`;
	* `generate_while(initial: any, checker: closure(result: any): bool, generator: closure(result: any): any): list<any>`;
	* `for_each(list: list<any>, handler: closure(item: any): nil): nil`;
	* `map(list: list<any>, handler: closure(item: any): any): list<any>`;
	* `filter(list: list<any>, filter: closure(item: any): bool): list<any>`;
	* `reduce(initial: any, list: list<any>, handler: closure(result: any, item: any): any): any`;
	* `zip(list_i: list<any>, list_ii: list<any>, handler: closure(item_i: any, item_ii: any): any): list<any>`;
	* `zip_longest(list_i: list<any>, list_ii: list<any>, handler: closure(item_i: any, item_ii: any): any): list<any>`;
	* `reverse(list: list<any>): list<any>`;
	* `last(list: list<any>): any`;
	* `init(list: list<any>): nil|list<any>`;
	* `find(list: list<any>, comparator: closure(item: any): bool): nil|num`;
	* `find_last(list: list<any>, comparator: closure(item: any): bool): nil|num`;
{'fraction_non_alphanumeric': 0.2133125729855975, 'fraction_numerical': 0.0011677695601401323, 'mean_word_length': 7.132911392405063, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '1596376', 'n_tokens_mistral': 990, 'n_tokens_neox': 970, 'n_words': 246}