Data.Char
lib/Data/Char.gob
No module comment.
type Char = Char
A Unicode scalar value, which the compiler provides.
fun fromInt : fun(Int) -> Option Char
fun toInt : fun(Char) -> Int
fun toString : fun(Char) -> String
The UTF-8 encoding of one scalar value. A Char is never a surrogate, so
every one of these is a well-formed String.
fun isAscii : fun(Char) -> Bool
fun maxValue : fun() -> Char
fun isDigit : fun(Char) -> Bool
fun isAsciiUpper : fun(Char) -> Bool
fun isAsciiLower : fun(Char) -> Bool
fun isAsciiAlpha : fun(Char) -> Bool
fun isAsciiAlphanumeric : fun(Char) -> Bool
fun digitValue : fun(Char) -> Option Int
Returns the value of an ASCII decimal digit: '7' is Some(7).
fun digitValueRadix : fun(Char, Int) -> Option Int
Returns the value of c as a digit in base radix, which must be in 2..36:
0-9, then a-z or A-Z for 10-35. None when c is not a digit
or its value is radix or more. Panics when radix is outside 2..36.
fun isSpace : fun(Char) -> Bool
Space, tab, newline, carriage return, form feed and vertical tab: the ASCII
whitespace a source file is made of. Not Unicode White_Space, which adds
the no-break space and the line separators.
instance Eq Char
instance Ord Char
instance Show Char
instance Hash Char