|Maintainer||Bas van Dijk <email@example.com>|
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 that the instances for
ShowS and the
types do not perform fully correct Unicode-aware case folding, they simply
toLower their characters! This is of course more than suitable for ASCII