Z-Data-0.5.0.0: Array, vector and text
Safe HaskellNone
LanguageHaskell2010

Z.Data.ASCII

Synopsis

Documentation

w2c :: Word8 -> Char Source #

Conversion between Word8 and Char. Should compile to a no-op.

c2w :: Char -> Word8 Source #

Unsafe conversion between Char and Word8. This is a no-op and silently truncates to 8 bits Chars > \255.

isASCII :: Word8 -> Bool Source #

\NUL <= w && w <= \DEL

isControl :: Word8 -> Bool Source #

ISO-8859-1 control letter.

isSpace :: Word8 -> Bool Source #

ISO-8859-1 space letter.

isHexDigit :: Word8 -> Bool Source #

0 ~ 9, A ~ F, a ~ f

pattern NUL :: Word8 Source #

\NUL

pattern TAB :: Word8 Source #

\t

pattern NEWLINE :: Word8 Source #

\n

pattern VERTICAL_TAB :: Word8 Source #

\v

pattern FORM_FEED :: Word8 Source #

\f

pattern SPACE :: Word8 Source #

' '

pattern EXCLAM :: Word8 Source #

!

pattern HASH :: Word8 Source #

#

pattern DOLLAR :: Word8 Source #

$

pattern PERCENT :: Word8 Source #

%

pattern AMPERSAND :: Word8 Source #

&

pattern AND :: Word8 Source #

&

pattern PAREN_LEFT :: Word8 Source #

(

pattern ASTERISK :: Word8 Source #

*

pattern PLUS :: Word8 Source #

+

pattern COMMA :: Word8 Source #

,

pattern HYPHEN :: Word8 Source #

-

pattern MINUS :: Word8 Source #

-

pattern PERIOD :: Word8 Source #

.

pattern DOT :: Word8 Source #

.

pattern SLASH :: Word8 Source #

/

pattern DIGIT_0 :: Word8 Source #

pattern DIGIT_1 :: Word8 Source #

pattern DIGIT_2 :: Word8 Source #

pattern DIGIT_3 :: Word8 Source #

pattern DIGIT_4 :: Word8 Source #

pattern DIGIT_5 :: Word8 Source #

pattern DIGIT_6 :: Word8 Source #

pattern DIGIT_7 :: Word8 Source #

pattern DIGIT_8 :: Word8 Source #

pattern DIGIT_9 :: Word8 Source #

pattern COLON :: Word8 Source #

:

pattern SEMICOLON :: Word8 Source #

;

pattern LESS :: Word8 Source #

<

pattern ANGLE_LEFT :: Word8 Source #

<

pattern EQUAL :: Word8 Source #

=

pattern GREATER :: Word8 Source #

>

pattern QUESTION :: Word8 Source #

?

pattern AT :: Word8 Source #

@

pattern LETTER_A :: Word8 Source #

pattern LETTER_B :: Word8 Source #

pattern LETTER_C :: Word8 Source #

pattern LETTER_D :: Word8 Source #

pattern LETTER_E :: Word8 Source #

pattern LETTER_F :: Word8 Source #

pattern LETTER_G :: Word8 Source #

pattern LETTER_H :: Word8 Source #

pattern LETTER_I :: Word8 Source #

pattern LETTER_J :: Word8 Source #

pattern LETTER_K :: Word8 Source #

pattern LETTER_L :: Word8 Source #

pattern LETTER_M :: Word8 Source #

pattern LETTER_N :: Word8 Source #

pattern LETTER_O :: Word8 Source #

pattern LETTER_P :: Word8 Source #

pattern LETTER_Q :: Word8 Source #

pattern LETTER_R :: Word8 Source #

pattern LETTER_S :: Word8 Source #

pattern LETTER_T :: Word8 Source #

pattern LETTER_U :: Word8 Source #

pattern LETTER_V :: Word8 Source #

pattern LETTER_W :: Word8 Source #

pattern LETTER_X :: Word8 Source #

pattern LETTER_Y :: Word8 Source #

pattern LETTER_Z :: Word8 Source #

pattern BACKSLASH :: Word8 Source #

\

pattern CIRCUM :: Word8 Source #

^

pattern UNDERSCORE :: Word8 Source #

_

pattern GRAVE :: Word8 Source #

`

pattern LETTER_a :: Word8 Source #

pattern LETTER_b :: Word8 Source #

pattern LETTER_c :: Word8 Source #

pattern LETTER_d :: Word8 Source #

pattern LETTER_e :: Word8 Source #

pattern LETTER_f :: Word8 Source #

pattern LETTER_g :: Word8 Source #

pattern LETTER_h :: Word8 Source #

pattern LETTER_i :: Word8 Source #

pattern LETTER_j :: Word8 Source #

pattern LETTER_k :: Word8 Source #

pattern LETTER_l :: Word8 Source #

pattern LETTER_m :: Word8 Source #

pattern LETTER_n :: Word8 Source #

pattern LETTER_o :: Word8 Source #

pattern LETTER_p :: Word8 Source #

pattern LETTER_q :: Word8 Source #

pattern LETTER_r :: Word8 Source #

pattern LETTER_s :: Word8 Source #

pattern LETTER_t :: Word8 Source #

pattern LETTER_u :: Word8 Source #

pattern LETTER_v :: Word8 Source #

pattern LETTER_w :: Word8 Source #

pattern LETTER_x :: Word8 Source #

pattern LETTER_y :: Word8 Source #

pattern LETTER_z :: Word8 Source #

pattern BRACE_LEFT :: Word8 Source #

{

pattern CURLY_LEFT :: Word8 Source #

{

pattern BAR :: Word8 Source #

|

pattern OR :: Word8 Source #

|

pattern TILDE :: Word8 Source #

~

pattern DEL :: Word8 Source #

\DEL