<commit_before>
-- | This module represents the evolving API of HLint, it is not yet stable, complete or usable.
--   I /will/ move this module and make regular significant breaking changes.
module Temporary.API(
    -- * Settings
    module Settings,
    -- * Idea
    module Idea,
    -- * Apply
    module Apply,
    -- * Hint.All
    dynamicHints,
    -- * Hints
    builtinHints, Hint(..),
    -- * Scopes
    Scope, scopeCreate, scopeMatch, scopeMove,
    -- * HSE
    ParseFlags(..), CppFlags(..), defaultParseFlags, parseModuleEx,
    -- * File encodings
    Encoding, defaultEncoding, newEncoding, useEncoding
    ) where

import Settings
import Idea
import Apply
import Hint.Type
import Hint.All
import Util
import CmdLine

{-
-- built in hints, defined hints, classification rules
parseHintModule :: Module_ -> Either String ([HintMatch], [Classify])
parseHintModule = undefined<commit_msg>Add ParseError to the API<commit_after>
-- | This module represents the evolving API of HLint, it is not yet stable, complete or usable.
--   I /will/ move this module and make regular significant breaking changes.
module Temporary.API(
    -- * Settings
    module Settings,
    -- * Idea
    module Idea,
    -- * Apply
    module Apply,
    -- * Hint.All
    dynamicHints,
    -- * Hints
    builtinHints, Hint(..),
    -- * Scopes
    Scope, scopeCreate, scopeMatch, scopeMove,
    -- * HSE
    ParseError(..), ParseFlags(..), CppFlags(..), defaultParseFlags, parseModuleEx,
    -- * File encodings
    Encoding, defaultEncoding, newEncoding, useEncoding
    ) where

import Settings
import Idea
import Apply
import Hint.Type
import Hint.All
import Util
import CmdLine

{-
-- built in hints, defined hints, classification rules
parseHintModule :: Module_ -> Either String ([HintMatch], [Classify])
parseHintModule = undefined
{'fraction_non_alphanumeric': 0.10218579234972677, 'fraction_numerical': 0.0, 'mean_word_length': 3.0153508771929824, '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': '2601493', 'n_tokens_mistral': 545, 'n_tokens_neox': 526, 'n_words': 184}