<commit_before>with builtins;
with import ./utils.nix;

builtins:

concatStrings (map
  (name:
    let builtin = builtins.${name}; in
    "<dt><code>${name} "
    + concatStringsSep " " (map (s: "<var>${s}</var>") builtin.args)
    + "</code></dt>"
    + "<dd>\n\n"
    + builtin.doc
    + "\n\n</dd>"
  )
  (attrNames builtins))<commit_msg>Anchor link for builtin functions in HTML doc<commit_after>with builtins;
with import ./utils.nix;

builtins:

concatStrings (map
  (name:
    let builtin = builtins.${name}; in
    "<dt id=\"${name}\"><a href=\"#${name}\"><code>${name} "
    + concatStringsSep " " (map (s: "<var>${s}</var>") builtin.args)
    + "</code></a></dt>"
    + "<dd>\n\n"
    + builtin.doc
    + "\n\n</dd>"
  )
  (attrNames builtins))
{'fraction_non_alphanumeric': 0.23076923076923078, 'fraction_numerical': 0.0, 'mean_word_length': 3.1256830601092895, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '1663767', 'n_tokens_mistral': 292, 'n_tokens_neox': 293, 'n_words': 58}