|Maintainer||Bas van Dijk <firstname.lastname@example.org>|
This module is intended to be imported qualified. May I suggest:
import Data.CaseInsensitive ( CI ) import qualified Data.CaseInsensitive as CI
CI s has an instance for
IsString which together with the
OverloadedStrings language extension allows you to write case insensitive
string literals as in:
Transform the original string-like value but keep it case insensitive.
Class of string-like types that support folding cases.
Note: In some languages, case conversion is a locale- and context-dependent
foldCase method is not intended to be locale sensitive.
Programs that require locale sensitivity should use appropriate versions of
the case mapping functions from the
|FoldCase (CI s)|