|Maintainer||Bas van Dijk <firstname.lastname@example.org>|
This module is intended to be imported qualified. May I suggest:
import Data.CaseInsensitive ( CI ) import qualifed Data.CaseInsensitivee 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