// Generated by purs version 0.14.5
"use strict";
var Data_Ord = require("../Data.Ord/index.js");
var Data_Show = require("../Data.Show/index.js");
var Data_String_Common = require("../Data.String.Common/index.js");
var CaseInsensitiveString = function (x) {
    return x;
};
var showCaseInsensitiveString = {
    show: function (v) {
        return "(CaseInsensitiveString " + (Data_Show.show(Data_Show.showString)(v) + ")");
    }
};
var newtypeCaseInsensitiveString = {
    Coercible0: function () {
        return undefined;
    }
};
var eqCaseInsensitiveString = {
    eq: function (v) {
        return function (v1) {
            return Data_String_Common.toLower(v) === Data_String_Common.toLower(v1);
        };
    }
};
var ordCaseInsensitiveString = {
    compare: function (v) {
        return function (v1) {
            return Data_Ord.compare(Data_Ord.ordString)(Data_String_Common.toLower(v))(Data_String_Common.toLower(v1));
        };
    },
    Eq0: function () {
        return eqCaseInsensitiveString;
    }
};
module.exports = {
    CaseInsensitiveString: CaseInsensitiveString,
    eqCaseInsensitiveString: eqCaseInsensitiveString,
    ordCaseInsensitiveString: ordCaseInsensitiveString,
    showCaseInsensitiveString: showCaseInsensitiveString,
    newtypeCaseInsensitiveString: newtypeCaseInsensitiveString
};
