Library with some useful functions on characters.
Author: Michael Hanus, Bjoern Peemoeller
Version: January 2015
isAscii
:: Char -> Bool
Returns true if the argument is an ASCII character. |
isLatin1
:: Char -> Bool
Returns true if the argument is an Latin-1 character. |
isAsciiLower
:: Char -> Bool
Returns true if the argument is an ASCII lowercase letter. |
isAsciiUpper
:: Char -> Bool
Returns true if the argument is an ASCII uppercase letter. |
isControl
:: Char -> Bool
Returns true if the argument is a control character. |
toUpper
:: Char -> Char
Converts lowercase into uppercase letters. |
toLower
:: Char -> Char
Converts uppercase into lowercase letters. |
digitToInt
:: Char -> Int
Converts a (hexadecimal) digit character into an integer. |
intToDigit
:: Int -> Char
Converts an integer into a (hexadecimal) digit character. |
Returns true if the argument is an ASCII character. |
Returns true if the argument is an Latin-1 character. |
Returns true if the argument is an ASCII lowercase letter. |
Returns true if the argument is an ASCII uppercase letter. |
Returns true if the argument is a control character. |
Converts lowercase into uppercase letters. |
Converts uppercase into lowercase letters. |
Converts a (hexadecimal) digit character into an integer. |
Converts an integer into a (hexadecimal) digit character. |