character-ps-0.1: Pattern synonyms for ASCII characters for Word8, Word16 etc
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Char.Patterns

Description

This module provides pattern synonyms for Char in Basic Latin block (range 'x00-x7f').

The pattern names are inspired by Unicode (letter and digits) and PostScript names (symbols), e.g. / is SLASH, not SOLIDUS.

This module is designed to be imported qualified

import Data.Char.Patterns as C

hello = [C.LOWER_H, C.LOWER_E, C.LOWER_L, C.LOWER_L, C.LOWER_O]

but can also be used unqualified as well.

Synopsis

Control characters, x00-x1f

pattern NUL :: Char Source #

Null character (NUL)

pattern SOH :: Char Source #

Start of Heading (SOH)

pattern STX :: Char Source #

Start of Text (STX)

pattern ETX :: Char Source #

End of Text (ETX)

pattern EOT :: Char Source #

End of Transmission (EOT)

pattern ENQ :: Char Source #

Enquiry (ENQ)

pattern ACK :: Char Source #

Acknowledge (ACK)

pattern BEL :: Char Source #

Alert (BEL)

pattern BS :: Char Source #

Backspace (BS)

pattern TAB :: Char Source #

Character tabulation (TAB)

pattern LF :: Char Source #

End of line, line feed (LF)

pattern VT :: Char Source #

Line tabulation, vertical tab (VT)

pattern FF :: Char Source #

Form feed (FF)

pattern CR :: Char Source #

Carriage Return (CR)

pattern SO :: Char Source #

Locking-Shift One, Shift Out (SO)

pattern SI :: Char Source #

Locking-Shift Zero, Shift In (SI)

pattern DLE :: Char Source #

Data Link Escape (DLE)

pattern DC1 :: Char Source #

Device Control One, XON (DC1)

pattern DC2 :: Char Source #

Device Control Two (DC2)

pattern DC3 :: Char Source #

Device Control Three, XOFF (DC3)

pattern DC4 :: Char Source #

Device Control Four (DC4)

pattern NAK :: Char Source #

Negative Acknowledge (NAK)

pattern SYN :: Char Source #

Syncronous Idle (SYN)

pattern ETB :: Char Source #

End of Transmission Block (ETB)

pattern CAN :: Char Source #

Cancel (CAN)

pattern EOM :: Char Source #

End of Medium (EOM)

pattern SUB :: Char Source #

Substitute (SUB)

pattern ESC :: Char Source #

Escape (ESC)

pattern FS :: Char Source #

File Separator (FS)

pattern GS :: Char Source #

Group Separator (GS)

pattern RS :: Char Source #

Information Separator One, Record Separator (RS)

pattern US :: Char Source #

Information Separator Two, Unit Separator (US)

Symbols 1, x20-x2f

pattern SPACE :: Char Source #

Space (SP), ' '.

pattern EXCLAM :: Char Source #

Exclamation mark, !

pattern DOUBLE_QUOTE :: Char Source #

Quotation mark, double quote, "

pattern NUMBER :: Char Source #

Number sign, #

pattern DOLLAR :: Char Source #

Dollar sign, $

pattern PERCENT :: Char Source #

Percent sign, %

pattern AMPERSAND :: Char Source #

Ampersand, &

pattern SINGLE_QUOTE :: Char Source #

Apostrophe, single quote, '

pattern LEFT_PAREN :: Char Source #

Left parenthesis, (

pattern RIGHT_PAREN :: Char Source #

Right parenthesis, )

pattern ASTERISK :: Char Source #

Asterisk, *

pattern PLUS :: Char Source #

Plus sign, +

pattern COMMA :: Char Source #

Comma, ,

pattern HYPHEN :: Char Source #

Hyphen-minus, -

pattern PERIOD :: Char Source #

Full stop, period, .

pattern SLASH :: Char Source #

Solidus, slash, /

Digits, x30-x39

pattern DIGIT_0 :: Char Source #

Digit 0, 0

pattern DIGIT_1 :: Char Source #

Digit 1, 1

pattern DIGIT_2 :: Char Source #

Digit 2, 2

pattern DIGIT_3 :: Char Source #

Digit 3, 3

pattern DIGIT_4 :: Char Source #

Digit 4, 4

pattern DIGIT_5 :: Char Source #

Digit 5, 5

pattern DIGIT_6 :: Char Source #

Digit 6, 6

pattern DIGIT_7 :: Char Source #

Digit 7, 7

pattern DIGIT_8 :: Char Source #

Digit 8, 8

pattern DIGIT_9 :: Char Source #

Digit 9, 9

Symbols 2, x3a-x40

pattern COLON :: Char Source #

Colon, :

pattern SEMICOLON :: Char Source #

Semicolon, ;

pattern LESS :: Char Source #

Less-than sign, <

pattern EQUAL :: Char Source #

Equals sign, =

pattern GREATER :: Char Source #

Greater-than sign, >

pattern QUESTION :: Char Source #

Question mark, ?

pattern AT :: Char Source #

Commercial At, @

Upper case letters, x41-x5a

pattern UPPER_A :: Char Source #

Latin small letter A, A

pattern UPPER_B :: Char Source #

Latin small letter B, B

pattern UPPER_C :: Char Source #

Latin small letter C, C

pattern UPPER_D :: Char Source #

Latin small letter D, D

pattern UPPER_E :: Char Source #

Latin small letter E, E

pattern UPPER_F :: Char Source #

Latin small letter F, F

pattern UPPER_G :: Char Source #

Latin small letter G, G

pattern UPPER_H :: Char Source #

Latin small letter H, H

pattern UPPER_I :: Char Source #

Latin small letter I, I

pattern UPPER_J :: Char Source #

Latin small letter J, J

pattern UPPER_K :: Char Source #

Latin small letter K, K

pattern UPPER_L :: Char Source #

Latin small letter L, L

pattern UPPER_M :: Char Source #

Latin small letter M, M

pattern UPPER_N :: Char Source #

Latin small letter N, N

pattern UPPER_O :: Char Source #

Latin small letter O, O

pattern UPPER_P :: Char Source #

Latin small letter P, P

pattern UPPER_Q :: Char Source #

Latin small letter Q, Q

pattern UPPER_R :: Char Source #

Latin small letter R, R

pattern UPPER_S :: Char Source #

Latin small letter S, S

pattern UPPER_T :: Char Source #

Latin small letter T, T

pattern UPPER_U :: Char Source #

Latin small letter U, U

pattern UPPER_V :: Char Source #

Latin small letter V, V

pattern UPPER_W :: Char Source #

Latin small letter W, W

pattern UPPER_X :: Char Source #

Latin small letter X, X

pattern UPPER_Y :: Char Source #

Latin small letter Y, Y

pattern UPPER_Z :: Char Source #

Latin small letter Z, Z

Symbols 3, x5b-x60

pattern LEFT_SQUARE :: Char Source #

Left square bracket, [

pattern BACKSLASH :: Char Source #

Reverse solidus, backslash, \

pattern RIGHT_SQUARE :: Char Source #

Right square bracket, ]

pattern CIRCUM :: Char Source #

Circumflex accent, ^

pattern UNDERSCORE :: Char Source #

Low line, underscore, _

pattern GRAVE :: Char Source #

Grave accent, `

Lower case letters, x61-x7a

pattern LOWER_A :: Char Source #

Latin small letter A, a

pattern LOWER_B :: Char Source #

Latin small letter B, b

pattern LOWER_C :: Char Source #

Latin small letter C, c

pattern LOWER_D :: Char Source #

Latin small letter D, d

pattern LOWER_E :: Char Source #

Latin small letter E, e

pattern LOWER_F :: Char Source #

Latin small letter F, f

pattern LOWER_G :: Char Source #

Latin small letter G, g

pattern LOWER_H :: Char Source #

Latin small letter H, h

pattern LOWER_I :: Char Source #

Latin small letter I, i

pattern LOWER_J :: Char Source #

Latin small letter J, j

pattern LOWER_K :: Char Source #

Latin small letter K, k

pattern LOWER_L :: Char Source #

Latin small letter L, l

pattern LOWER_M :: Char Source #

Latin small letter M, m

pattern LOWER_N :: Char Source #

Latin small letter N, n

pattern LOWER_O :: Char Source #

Latin small letter O, o

pattern LOWER_P :: Char Source #

Latin small letter P, p

pattern LOWER_Q :: Char Source #

Latin small letter Q, q

pattern LOWER_R :: Char Source #

Latin small letter R, r

pattern LOWER_S :: Char Source #

Latin small letter S, s

pattern LOWER_T :: Char Source #

Latin small letter T, t

pattern LOWER_U :: Char Source #

Latin small letter U, u

pattern LOWER_V :: Char Source #

Latin small letter V, v

pattern LOWER_W :: Char Source #

Latin small letter W, w

pattern LOWER_X :: Char Source #

Latin small letter X, x

pattern LOWER_Y :: Char Source #

Latin small letter Y, y

pattern LOWER_Z :: Char Source #

Latin small letter Z, z

Symbols 5, x7b-x7f

pattern LEFT_CURLY :: Char Source #

Left curly bracket, {

pattern BAR :: Char Source #

Vertical line, vecrtical bar, |

pattern RIGHT_CURLY :: Char Source #

Right curly bracket, }

pattern TILDE :: Char Source #

Tilde, ~

pattern DEL :: Char Source #

Delete (DEL)