HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleword8-0.1.3Haskell2010

Data.Char8

Char8 library to be used with Data.ByteString.Char8. All function assumes that only 8bit part of Char is used and it is encoded in Latin-1 (ISO-8859-1). All utility functions are supposed to work as if those of Char. Exceptions are described in the function documentations.

Base library 4.7 (GHC 7.8) or earlier is based on Unicode 6. Base library 4.8 (GHC 7.10) or later is based on Unicode 7. isLower, isSymbol and isPunctuation behave differently.

  • 23 values
  • Packageword8-0.1.3
  • Exports23
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceChar8.hs

Character classification

16 declarations
valueisLower :: Char -> Bool
#

This function returns True for 170 and 186 in Unicode 6. But it returns False in Unicode 7.

Subranges

4 declarations

Case conversion

3 declarations
valuetoUpper :: Char -> Char
#

Micro sign/mu (0xb5) and small letter Y with diaeresis (0xff) remain the same.

valuetoTitle :: Char -> Char
#

Micro sign/mu (0xb5) and small letter Y with diaeresis (0xff) remain the same.