<commit_before>> module EVAN.Math
>   where

> import Data.Foldable (foldl')

> _Add :: Num a => (a, a) -> a
> _Add = uncurry (+)

> _Mul :: Num a => (a, a) -> a
> _Mul = uncurry (*)

> _Sum :: Num a => [a] -> a
> _Sum = foldl' (+) 0

> _Product :: Num a => [a] -> a
> _Product = foldl' (*) 1

> _Sub :: Num a => (a, a) -> a
> _Sub = uncurry (-)

> _Div :: Fractional a => (a, a) -> a
> _Div = uncurry (/)
<commit_msg>Comparison operators<commit_after>> module EVAN.Math
>   where

> import Data.Foldable (foldl')

> _Add :: Num a => (a, a) -> a
> _Add = uncurry (+)

> _Mul :: Num a => (a, a) -> a
> _Mul = uncurry (*)

> _Sum :: Num a => [a] -> a
> _Sum = foldl' (+) 0

> _Product :: Num a => [a] -> a
> _Product = foldl' (*) 1

> _Sub :: Num a => (a, a) -> a
> _Sub = uncurry (-)

> _Div :: Fractional a => (a, a) -> a
> _Div = uncurry (/)

> _Lt :: Ord a => (a, a) -> Bool
> _Lt = uncurry (<)

> _Le :: Ord a => (a, a) -> Bool
> _Le = uncurry (<=)

> _Gt :: Ord a => (a, a) -> Bool
> _Gt = uncurry (>)

> _Ge :: Ord a => (a, a) -> Bool
> _Ge = uncurry (>=)

> _Eq :: Ord a => (a, a) -> Bool
> _Eq = uncurry (==)

> _Ne :: Ord a => (a, a) -> Bool
> _Ne = not . _Eq


{'fraction_non_alphanumeric': 0.2506415739948674, 'fraction_numerical': 0.003421727972626176, 'mean_word_length': 2.4110787172011663, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 83, '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': '6566205', 'n_tokens_mistral': 554, 'n_tokens_neox': 537, 'n_words': 160}