Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Functions for identifying and manipulating character codes.
Synopsis
- ctow :: Char -> Word8
- chrWord8 :: Int -> Bool
- chrUTF8 :: Int -> [Word8]
- chrSurrogate :: Int -> Bool
- chrScalar :: Int -> Bool
- chrNonCharacter :: Int -> Bool
- chrASCIIDigit :: Word8 -> Bool
- chrASCIIUpperHexDigit :: Word8 -> Bool
- chrASCIILowerHexDigit :: Word8 -> Bool
- chrASCIIHexDigit :: Word8 -> Bool
- chrASCIIUpperAlpha :: Word8 -> Bool
- chrASCIILowerAlpha :: Word8 -> Bool
- chrASCIIAlpha :: Word8 -> Bool
- chrASCIIAlphanumeric :: Word8 -> Bool
- chrWhitespace :: Word8 -> Bool
- chrC0Control :: Word8 -> Bool
- chrControl :: Word8 -> Bool
- chrToUpper :: Word8 -> Word8
- chrToLower :: Word8 -> Word8
- chrAmpersand :: Word8
- chrEOF :: Word8
- chrExclamation :: Word8
- chrGreater :: Word8
- chrLess :: Word8
- chrQuestion :: Word8
- chrSolidus :: Word8
- chrTab :: Word8
- chrLF :: Word8
- chrFF :: Word8
- chrCR :: Word8
- chrSpace :: Word8
- chrEqual :: Word8
- chrQuote :: Word8
- chrApostrophe :: Word8
- chrGrave :: Word8
- chrNumberSign :: Word8
- chrHyphen :: Word8
- chrBracketRight :: Word8
- chrSemicolon :: Word8
- chrUpperX :: Word8
- chrLowerX :: Word8
Documentation
chrSurrogate :: Int -> Bool Source #
Determines if a character code is a surrogate.
chrNonCharacter :: Int -> Bool Source #
Determines if a code is a not a character code.
chrASCIIDigit :: Word8 -> Bool Source #
Determines if a character is an ASCII digit.
chrASCIIUpperHexDigit :: Word8 -> Bool Source #
Determines if a character is an ASCII uppercase hex digit.
chrASCIILowerHexDigit :: Word8 -> Bool Source #
Determines if a character is an ASCII lowercase hex digit.
chrASCIIHexDigit :: Word8 -> Bool Source #
Determines if a character is an ASCII hex digit (any case).
chrASCIIUpperAlpha :: Word8 -> Bool Source #
Determines if a character is an ASCII uppercase alpha character.
chrASCIILowerAlpha :: Word8 -> Bool Source #
Determines if a character is an ASCII lowercase alpha character.
chrASCIIAlpha :: Word8 -> Bool Source #
Determines if a character is an ASCII alpha character (any case).
chrASCIIAlphanumeric :: Word8 -> Bool Source #
Determines if a character is an ASCII alphanumeric character (any case).
chrWhitespace :: Word8 -> Bool Source #
Determines if a character is a whitespace character.
chrC0Control :: Word8 -> Bool Source #
Determines if a character is a C0 control character.
chrControl :: Word8 -> Bool Source #
Determines if a character is a control character.
chrToUpper :: Word8 -> Word8 Source #
Converts a character to uppercase.
chrToLower :: Word8 -> Word8 Source #
Converts a character to lowercase.
chrAmpersand :: Word8 Source #
Character code for ampersand.
chrExclamation :: Word8 Source #
Character code for exclamation.
chrGreater :: Word8 Source #
Character code for greater.
chrQuestion :: Word8 Source #
Character code for question.
chrSolidus :: Word8 Source #
Character code for solidus (slash).
chrApostrophe :: Word8 Source #
Character code for apostrophe.
chrNumberSign :: Word8 Source #
Character code for number sign.
chrBracketRight :: Word8 Source #
Character code for right bracket.
chrSemicolon :: Word8 Source #
Character code for semicolon.