<commit_before>module Models.Input where

data InputType
	= TextInput
	| CodeInput
	| FormulaInput
	| FileInput<commit_msg>add an Eq instance for the InputType<commit_after>module Models.Input where

data InputType
	= TextInput
	| CodeInput
	| FormulaInput
	| FileInput

instance eqInputType :: Eq InputType where
	(==) TextInput TextInput = true
	(==) CodeInput CodeInput = true
	(==) FormulaInput FormulaInput = true
	(==) FileInput FileInput = true
	(==) _ _ = false
	(/=) a b = not $ a == b
{'fraction_non_alphanumeric': 0.10323886639676114, 'fraction_numerical': 0.0, 'mean_word_length': 4.43956043956044, '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': '5357106', 'n_tokens_mistral': 163, 'n_tokens_neox': 160, 'n_words': 46}