<commit_before><commit_msg>Adding currying for first arg<commit_after><?php

function curry_fa(callable $fun, $first_arg)
{
    return function () use ($fun, $first_arg) { return call_user_func_array($fun, array_merge([$first_arg], func_get_args())); };
}
{'fraction_non_alphanumeric': 0.14901960784313725, 'fraction_numerical': 0.0, 'mean_word_length': 8.142857142857142, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, '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': '5554562', 'n_tokens_mistral': 87, 'n_tokens_neox': 85, 'n_words': 18}