Copyright | (c) Dong Han 2020 |
---|---|
License | BSD |
Maintainer | winterland1989@gmail.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
ASCII Chars utility.
Synopsis
- w2c :: Word8 -> Char
- c2w :: Char -> Word8
- isASCII :: Word8 -> Bool
- isUpper :: Word8 -> Bool
- isLower :: Word8 -> Bool
- toLower :: Word8 -> Word8
- toUpper :: Word8 -> Word8
- toLowerLatin :: Word8 -> Word8
- toUpperLatin :: Word8 -> Word8
- isControl :: Word8 -> Bool
- isSpace :: Word8 -> Bool
- isDigit :: Word8 -> Bool
- isOctDigit :: Word8 -> Bool
- isHexDigit :: Word8 -> Bool
- pattern NUL :: Word8
- pattern SOH :: Word8
- pattern STX :: Word8
- pattern ETX :: Word8
- pattern EOT :: Word8
- pattern ENQ :: Word8
- pattern ACK :: Word8
- pattern BEL :: Word8
- pattern BS :: Word8
- pattern TAB :: Word8
- pattern NEWLINE :: Word8
- pattern VERTICAL_TAB :: Word8
- pattern FORM_FEED :: Word8
- pattern CARRIAGE_RETURN :: Word8
- pattern SO :: Word8
- pattern SI :: Word8
- pattern DLE :: Word8
- pattern DC1 :: Word8
- pattern DC2 :: Word8
- pattern DC3 :: Word8
- pattern DC4 :: Word8
- pattern NAK :: Word8
- pattern SYN :: Word8
- pattern ETB :: Word8
- pattern CAN :: Word8
- pattern EM :: Word8
- pattern SUB :: Word8
- pattern ESC :: Word8
- pattern FS :: Word8
- pattern GS :: Word8
- pattern RS :: Word8
- pattern US :: Word8
- pattern SPACE :: Word8
- pattern EXCLAM :: Word8
- pattern DOUBLE_QUOTE :: Word8
- pattern HASH :: Word8
- pattern NUMBER_SIGN :: Word8
- pattern DOLLAR :: Word8
- pattern PERCENT :: Word8
- pattern AMPERSAND :: Word8
- pattern AND :: Word8
- pattern SINGLE_QUOTE :: Word8
- pattern PAREN_LEFT :: Word8
- pattern PAREN_RIGHT :: Word8
- pattern ASTERISK :: Word8
- pattern PLUS :: Word8
- pattern COMMA :: Word8
- pattern HYPHEN :: Word8
- pattern MINUS :: Word8
- pattern PERIOD :: Word8
- pattern DOT :: Word8
- pattern SLASH :: Word8
- pattern DIGIT_0 :: Word8
- pattern DIGIT_1 :: Word8
- pattern DIGIT_2 :: Word8
- pattern DIGIT_3 :: Word8
- pattern DIGIT_4 :: Word8
- pattern DIGIT_5 :: Word8
- pattern DIGIT_6 :: Word8
- pattern DIGIT_7 :: Word8
- pattern DIGIT_8 :: Word8
- pattern DIGIT_9 :: Word8
- pattern COLON :: Word8
- pattern SEMICOLON :: Word8
- pattern LESS :: Word8
- pattern ANGLE_LEFT :: Word8
- pattern EQUAL :: Word8
- pattern GREATER :: Word8
- pattern ANGLE_RIGHT :: Word8
- pattern QUESTION :: Word8
- pattern AT :: Word8
- pattern LETTER_A :: Word8
- pattern LETTER_B :: Word8
- pattern LETTER_C :: Word8
- pattern LETTER_D :: Word8
- pattern LETTER_E :: Word8
- pattern LETTER_F :: Word8
- pattern LETTER_G :: Word8
- pattern LETTER_H :: Word8
- pattern LETTER_I :: Word8
- pattern LETTER_J :: Word8
- pattern LETTER_K :: Word8
- pattern LETTER_L :: Word8
- pattern LETTER_M :: Word8
- pattern LETTER_N :: Word8
- pattern LETTER_O :: Word8
- pattern LETTER_P :: Word8
- pattern LETTER_Q :: Word8
- pattern LETTER_R :: Word8
- pattern LETTER_S :: Word8
- pattern LETTER_T :: Word8
- pattern LETTER_U :: Word8
- pattern LETTER_V :: Word8
- pattern LETTER_W :: Word8
- pattern LETTER_X :: Word8
- pattern LETTER_Y :: Word8
- pattern LETTER_Z :: Word8
- pattern BRACKET_LEFT :: Word8
- pattern SQUARE_LEFT :: Word8
- pattern BACKSLASH :: Word8
- pattern BRACKET_RIGHT :: Word8
- pattern SQUARE_RIGHT :: Word8
- pattern CIRCUM :: Word8
- pattern UNDERSCORE :: Word8
- pattern GRAVE :: Word8
- pattern LETTER_a :: Word8
- pattern LETTER_b :: Word8
- pattern LETTER_c :: Word8
- pattern LETTER_d :: Word8
- pattern LETTER_e :: Word8
- pattern LETTER_f :: Word8
- pattern LETTER_g :: Word8
- pattern LETTER_h :: Word8
- pattern LETTER_i :: Word8
- pattern LETTER_j :: Word8
- pattern LETTER_k :: Word8
- pattern LETTER_l :: Word8
- pattern LETTER_m :: Word8
- pattern LETTER_n :: Word8
- pattern LETTER_o :: Word8
- pattern LETTER_p :: Word8
- pattern LETTER_q :: Word8
- pattern LETTER_r :: Word8
- pattern LETTER_s :: Word8
- pattern LETTER_t :: Word8
- pattern LETTER_u :: Word8
- pattern LETTER_v :: Word8
- pattern LETTER_w :: Word8
- pattern LETTER_x :: Word8
- pattern LETTER_y :: Word8
- pattern LETTER_z :: Word8
- pattern BRACE_LEFT :: Word8
- pattern CURLY_LEFT :: Word8
- pattern BAR :: Word8
- pattern OR :: Word8
- pattern BRACE_RIGHT :: Word8
- pattern CURLY_RIGHT :: Word8
- pattern TILDE :: Word8
- pattern DEL :: Word8
Documentation
toLowerLatin :: Word8 -> Word8 Source #
A ~ Z
=> a ~ z
, À ~ Ö
=> à ~ ö
, Ø ~ Þ
=> ø ~ þ
toUpperLatin :: Word8 -> Word8 Source #
a ~ z
=> A ~ Z
, à ~ ö
=> À ~ Ö
, ø ~ þ
=> Ø ~ Þ
isOctDigit :: Word8 -> Bool Source #
0 ~ 7
isHexDigit :: Word8 -> Bool Source #
0 ~ 9, A ~ F, a ~ f
pattern VERTICAL_TAB :: Word8 Source #
\v
pattern CARRIAGE_RETURN :: Word8 Source #
\r
pattern DOUBLE_QUOTE :: Word8 Source #
"
pattern NUMBER_SIGN :: Word8 Source #
#
pattern SINGLE_QUOTE :: Word8 Source #
'
pattern PAREN_LEFT :: Word8 Source #
(
pattern PAREN_RIGHT :: Word8 Source #
)
pattern ANGLE_LEFT :: Word8 Source #
<
pattern ANGLE_RIGHT :: Word8 Source #
>
pattern BRACKET_LEFT :: Word8 Source #
[
pattern SQUARE_LEFT :: Word8 Source #
[
pattern BRACKET_RIGHT :: Word8 Source #
]
pattern SQUARE_RIGHT :: Word8 Source #
]
pattern UNDERSCORE :: Word8 Source #
_
pattern BRACE_LEFT :: Word8 Source #
{
pattern CURLY_LEFT :: Word8 Source #
{
pattern BRACE_RIGHT :: Word8 Source #
}
pattern CURLY_RIGHT :: Word8 Source #
}