symparsec-1.1.1: Type level string parser combinators
Safe HaskellSafe-Inferred
LanguageGHC2021

Symparsec.Parser.While.Predicates

Description

Character predicates.

Synopsis

Documentation

class SingChPred chPred where Source #

Methods

singChPred :: Lam SChar SBool chPred Source #

type family IsAlpha ch where ... Source #

A-Za-z

Equations

IsAlpha 'a' = True 
IsAlpha 'A' = True 
IsAlpha 'b' = True 
IsAlpha 'B' = True 
IsAlpha 'c' = True 
IsAlpha 'C' = True 
IsAlpha 'd' = True 
IsAlpha 'D' = True 
IsAlpha 'e' = True 
IsAlpha 'E' = True 
IsAlpha 'f' = True 
IsAlpha 'F' = True 
IsAlpha 'g' = True 
IsAlpha 'G' = True 
IsAlpha 'h' = True 
IsAlpha 'H' = True 
IsAlpha 'i' = True 
IsAlpha 'I' = True 
IsAlpha 'j' = True 
IsAlpha 'J' = True 
IsAlpha 'k' = True 
IsAlpha 'K' = True 
IsAlpha 'l' = True 
IsAlpha 'L' = True 
IsAlpha 'm' = True 
IsAlpha 'M' = True 
IsAlpha 'n' = True 
IsAlpha 'N' = True 
IsAlpha 'o' = True 
IsAlpha 'O' = True 
IsAlpha 'p' = True 
IsAlpha 'P' = True 
IsAlpha 'q' = True 
IsAlpha 'Q' = True 
IsAlpha 'r' = True 
IsAlpha 'R' = True 
IsAlpha 's' = True 
IsAlpha 'S' = True 
IsAlpha 't' = True 
IsAlpha 'T' = True 
IsAlpha 'u' = True 
IsAlpha 'U' = True 
IsAlpha 'v' = True 
IsAlpha 'V' = True 
IsAlpha 'w' = True 
IsAlpha 'W' = True 
IsAlpha 'x' = True 
IsAlpha 'X' = True 
IsAlpha 'y' = True 
IsAlpha 'Y' = True 
IsAlpha 'z' = True 
IsAlpha 'Z' = True 
IsAlpha _ = False 

data IsAlphaSym ch Source #

Instances

Instances details
SingChPred IsAlphaSym Source # 
Instance details

Defined in Symparsec.Parser.While.Predicates

type App IsAlphaSym (ch :: Char) Source # 
Instance details

Defined in Symparsec.Parser.While.Predicates

type App IsAlphaSym (ch :: Char) = IsAlpha ch

type family IsHexDigit ch where ... Source #

0-9A-Fa-f

data IsHexDigitSym ch Source #

Instances

Instances details
SingChPred IsHexDigitSym Source # 
Instance details

Defined in Symparsec.Parser.While.Predicates

type App IsHexDigitSym (ch :: Char) Source # 
Instance details

Defined in Symparsec.Parser.While.Predicates

type App IsHexDigitSym (ch :: Char) = IsHexDigit ch