<commit_before>'use strict';
var os = require('os'),
empty = '(' + os.EOL + ')';
console.log('Welcome to Ramda REPL!\n');

module.exports = function() {
	var repl = require('repl').start({'prompt': 'λ > '});

	require('repl.history')(repl, process.env.HOME + '/.ramda_history');

	var R = repl.context.R = require('ramda');

	for (var key in R){
		if (R.hasownProperty(key)) {
			repl.context[key] = R[key];
		}
	}

	var F = repl.context.fantasy =  require('ramda-fantasy');

	R.map(function(f){repl.context[f] = F[f]},R.keys(F))
};
<commit_msg>Avoid overriding.<commit_after>'use strict';
var os = require('os'),
empty = '(' + os.EOL + ')',
has = Object.prototype.hasOwnProperty;
console.log('Welcome to Ramda REPL!\n');

module.exports = function() {
	var repl = require('repl').start({'prompt': 'λ > '});

	require('repl.history')(repl, process.env.HOME + '/.ramda_history');

	var R = repl.context.R = require('ramda');

	for (var key in R){
		if (has.call(R, key)) {
			repl.context[key] = R[key];
		}
	}

	var F = repl.context.fantasy =  require('ramda-fantasy');

	R.map(function(f){repl.context[f] = F[f]},R.keys(F))
};

{'fraction_non_alphanumeric': 0.22695035460992907, 'fraction_numerical': 0.0, 'mean_word_length': 4.300469483568075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '578421', 'n_tokens_mistral': 465, 'n_tokens_neox': 437, 'n_words': 82}