X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FChar.hs;h=2ec1e66ad4bd1fad318af3de3f87967a21b4c548;hb=0a41af38169035a4359c0c29bc1219af564dce64;hp=1debe79ee552b40b567b43ead79dd45caf9f9136;hpb=1e076454862442966918e6b1b9095e43eab7c770;p=ghc-base.git diff --git a/Data/Char.hs b/Data/Char.hs index 1debe79..2ec1e66 100644 --- a/Data/Char.hs +++ b/Data/Char.hs @@ -23,14 +23,16 @@ module Data.Char -- | Unicode characters are divided into letters, numbers, marks, -- punctuation, symbols, separators (including spaces) and others -- (including control characters). - -- The full set of Unicode character attributes is not accessible - -- in this library. , isAscii, isLatin1, isControl, isSpace , isLower, isUpper, isAlpha, isAlphaNum, isPrint - , isDigit, isOctDigit, isHexDigit -- :: Char -> Bool + , isDigit, isOctDigit, isHexDigit + , isAsciiUpper, isAsciiLower + , isLetter, isMark, isNumber, isPunctuation, isSymbol, isSeparator + + , GeneralCategory(..), generalCategory -- * Case conversion - , toUpper, toLower -- :: Char -> Char + , toUpper, toLower, toTitle -- :: Char -> Char -- * Single digit characters , digitToInt -- :: Char -> Int