<commit_before>## Type conversion

    int(s)                      -- only converts strings looking like /^ '-'? \d+ $/
    str(o)
    typeof(o)                   -- returns a string with a typename, "Str", "Int", etc

## Int subs

    abs(n)
    max(a, b)
    min(a, b)
    chr(n)

## String subs

    chars(s)
    substr(s, pos, chars)
    charat(s, pos)
    index(s, substr)            -- returns -1 on substr not found
    split(s, sep)
    trim(s)
    uc(s)
    lc(s)
    ord(s)

## Array subs

    elems(a)
    join(a, sep)
    reversed(a)
    sorted(a)
<commit_msg>add map and grep to wishlist<commit_after>## Type conversion

    int(s)                      -- only converts strings looking like /^ '-'? \d+ $/
    str(o)
    typeof(o)                   -- returns a string with a typename, "Str", "Int", etc

## Int subs

    abs(n)
    max(a, b)
    min(a, b)
    chr(n)

## String subs

    chars(s)
    substr(s, pos, chars)
    charat(s, pos)
    index(s, substr)            -- returns -1 on substr not found
    split(s, sep)
    trim(s)
    uc(s)
    lc(s)
    ord(s)

## Array subs

    elems(a)
    join(a, sep)
    reversed(a)
    sorted(a)
    map(fn, a)
    grep(fn, a)

{'fraction_non_alphanumeric': 0.14453781512605043, 'fraction_numerical': 0.0016806722689075631, 'mean_word_length': 1.6584821428571428, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5588836', 'n_tokens_mistral': 465, 'n_tokens_neox': 439, 'n_words': 125}