HORIZON HASKELLDocslts/ghc-9.14.xb2f3bfd2026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

Modulealfred-margaret-2.1.1.1Haskell2010

Data.Text.Utf8.Unlower

  • 2 values
valueunlowerCodePoint :: Char -> [Char]
#

Inverse of Char.toLower/Utf8.lowerCodePoint

Returns all the characters that have the given character as their lower case, for example:

unlowerCodePoint a == "aA" unlowerCodePoint A == "" unlowerCodePoint '1' == "1" unlowerCodePoint i == İiI unlowerCodePoint ß == ẞß

valueprintUnlowerings :: IO ()
#

This function prints all the special cases of unlowerCodePoint where it's not (pure . id):

SPECIAL: i (105) -> İ (304) i (105) I (73) SPECIAL: k (107) -> K (8490) k (107) K (75) SPECIAL: ß (223) -> ẞ (7838) ß (223) SPECIAL: å (229) -> Å (8491) å (229) Å (197) SPECIAL: dž (454) -> dž (454) Dž (453) DŽ (452) SPECIAL: lj (457) -> lj (457) Lj (456) LJ (455) SPECIAL: nj (460) -> nj (460) Nj (459) NJ (458) SPECIAL: dz (499) -> dz (499) Dz (498) DZ (497) SPECIAL: θ (952) -> ϴ (1012) θ (952) Θ (920) SPECIAL: ω (969) -> Ω (8486) ω (969) Ω (937) [..] Inverse of Char.toUpper: a (97) -> a (97) A (65) Inverse of Char.toUpper: b (98) -> b (98) B (66) Inverse of Char.toUpper: c (99) -> c (99) C (67) [..]