<commit_before>//
//  SQL.swift
//  LittlinkRouterPerfect
//
//  Created by <NAME> on 10/27/16.
//
//

/// Errors generated by the SQL module.
public enum SQLError: Error {
    public enum ColumnSpecifier: Hashable {
        case name(String)
        case index(Int)
        
        public static func == (lhs: ColumnSpecifier, rhs: ColumnSpecifier) -> Bool {
            switch (lhs, rhs) {
            case let (.name(l), .name(r)) where l == r:
                return true
            case let (.index(l), .index(r)) where l == r:
                return true<commit_msg>Add documentation for `SQLError.ColumnSpecifier`<commit_after>//
//  SQL.swift
//  LittlinkRouterPerfect
//
//  Created by <NAME> on 10/27/16.
//
//

/// Errors generated by the SQL module.
public enum SQLError: Error {
    /// The name or index of a column that did not actually exist.
    public enum ColumnSpecifier: Hashable {
        case name(String)
        case index(Int)
        
        public static func == (lhs: ColumnSpecifier, rhs: ColumnSpecifier) -> Bool {
            switch (lhs, rhs) {
            case let (.name(l), .name(r)) where l == r:
                return true
            case let (.index(l), .index(r)) where l == r:
                return true
{'fraction_non_alphanumeric': 0.1224, 'fraction_numerical': 0.0096, 'mean_word_length': 1.8692660550458715, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5179035', 'n_tokens_mistral': 396, 'n_tokens_neox': 369, 'n_words': 124}