<commit_before>{-# LANGUAGE OverloadedStrings #-}

module Hi.Types
    (
      Flag
    , InitFlags
    , Label
    , Option(..)
    , Mode(..)
    , Files
    , Error
    ) where

type Files = [(FilePath, String)]

type Flag = String

type InitFlags = [(String, String)]

type Error = String

type Label = String

-- | Options
data Option = Version | Help | Arg Label String deriving(Eq, Show)

-- | Run mode.
data Mode = ShowVersion | ShowHelp | Run deriving(Eq, Show)<commit_msg>Remove Flag since it wasn't used anymore<commit_after>{-# LANGUAGE OverloadedStrings #-}

module Hi.Types
    ( InitFlags
    , Label
    , Option(..)
    , Mode(..)
    , Files
    , Error
    ) where

type Files = [(FilePath, String)]

type InitFlags = [(String, String)]

type Error = String

type Label = String

-- | Options
data Option = Version | Help | Arg Label String deriving(Eq, Show)

-- | Run mode.
data Mode = ShowVersion | ShowHelp | Run deriving(Eq, Show)
{'fraction_non_alphanumeric': 0.12473794549266247, 'fraction_numerical': 0.0, 'mean_word_length': 2.82, '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': '4284743', 'n_tokens_mistral': 309, 'n_tokens_neox': 298, 'n_words': 99}