zenacy-html-2.1.0: A standard compliant HTML parsing library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Zenacy.HTML.Internal.Char

Description

Functions for identifying and manipulating character codes.

Synopsis

Documentation

ctow :: Char -> Word8 Source #

Converts a character to a Word8.

chrWord8 :: Int -> Bool Source #

Determines if a character code is in the range of a Word8.

chrUTF8 :: Int -> [Word8] Source #

Decodes a UTF8 unicode character.

chrSurrogate :: Int -> Bool Source #

Determines if a character code is a surrogate.

chrScalar :: Int -> Bool Source #

Determines if a character code is a scalar.

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.

chrEOF :: Word8 Source #

Character code for EOF.

chrExclamation :: Word8 Source #

Character code for exclamation.

chrGreater :: Word8 Source #

Character code for greater.

chrLess :: Word8 Source #

Character code for less.

chrQuestion :: Word8 Source #

Character code for question.

chrSolidus :: Word8 Source #

Character code for solidus (slash).

chrTab :: Word8 Source #

Character code for tab.

chrLF :: Word8 Source #

Character code for line feed.

chrFF :: Word8 Source #

Character code for form feed.

chrCR :: Word8 Source #

Character code for carraige return.

chrSpace :: Word8 Source #

Character code for space.

chrEqual :: Word8 Source #

Character code for equal.

chrQuote :: Word8 Source #

Character code for quote.

chrApostrophe :: Word8 Source #

Character code for apostrophe.

chrGrave :: Word8 Source #

Character code for grave.

chrNumberSign :: Word8 Source #

Character code for number sign.

chrHyphen :: Word8 Source #

Character code for hyphen.

chrBracketRight :: Word8 Source #

Character code for right bracket.

chrSemicolon :: Word8 Source #

Character code for semicolon.

chrUpperX :: Word8 Source #

Character code for upper x.

chrLowerX :: Word8 Source #

Character code for lower x.