<commit_before>// Built in functions:

const toJSNumber = (number) => {
  let counter = 0;
  number(() => counter++)();
  return counter;
};

const show = (fn) => { //eslint-disable-line
  if (fn.name) {
    console.log(fn.name);
    return;
  }
  console.log(toJSNumber(fn));
};


const showInteger = (fn) => { //eslint-disable-line
  let sign, number;
  fn(s => n => {
    sign = s(() => sign = 1)(() => sign = -1)();
    number = toJSNumber(n);
  });
  console.log(sign * number);
};

// End of built in functions.

// Start of compiled program:
<commit_msg>add back toJSInteger in JS builtins<commit_after>// Built in functions:
const toJSNumber = (number) => {
  let counter = 0;
  number(() => counter++)();
  return counter;
};

const show = (fn) => {
  if (fn.name) {
    console.log(fn.name);
    return;
  }
  console.log(toJSNumber(fn));
};



const toJSInteger = fn => {
  let sign, number;
  fn(s => n => {
    sign = s(() => sign = 1)(() => sign = -1)();
    number = toJSNumber(n);
  });
  return sign * number;
};

const showInteger = fn => {
  console.log(toJSInteger(fn));
};

// End of built in functions.

// Start of compiled program:

{'fraction_non_alphanumeric': 0.19636678200692043, 'fraction_numerical': 0.005190311418685121, 'mean_word_length': 2.935374149659864, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 20, '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': '1496188', 'n_tokens_mistral': 420, 'n_tokens_neox': 412, 'n_words': 110}