Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Symparsec.Parser.While.Predicates
Description
Character predicates.
Synopsis
- class SingChPred chPred where
- singChPred :: Lam SChar SBool chPred
- type family IsAlpha ch where ...
- data IsAlphaSym ch
- sIsAlphaSym :: Lam SChar SBool IsAlphaSym
- type family IsHexDigit ch where ...
- data IsHexDigitSym ch
- sIsHexDigitSym :: Lam SChar SBool IsHexDigitSym
Documentation
class SingChPred chPred where Source #
Instances
SingChPred IsAlphaSym Source # | |
Defined in Symparsec.Parser.While.Predicates Methods | |
SingChPred IsHexDigitSym Source # | |
Defined in Symparsec.Parser.While.Predicates Methods |
type family IsAlpha ch where ... Source #
A-Za-z
Equations
data IsAlphaSym ch Source #
Instances
SingChPred IsAlphaSym Source # | |
Defined in Symparsec.Parser.While.Predicates Methods | |
type App IsAlphaSym (ch :: Char) Source # | |
Defined in Symparsec.Parser.While.Predicates |
type family IsHexDigit ch where ... Source #
0-9A-Fa-f
Equations
IsHexDigit '0' = True | |
IsHexDigit '1' = True | |
IsHexDigit '2' = True | |
IsHexDigit '3' = True | |
IsHexDigit '4' = True | |
IsHexDigit '5' = True | |
IsHexDigit '6' = True | |
IsHexDigit '7' = True | |
IsHexDigit '8' = True | |
IsHexDigit '9' = True | |
IsHexDigit 'a' = True | |
IsHexDigit 'A' = True | |
IsHexDigit 'b' = True | |
IsHexDigit 'B' = True | |
IsHexDigit 'c' = True | |
IsHexDigit 'C' = True | |
IsHexDigit 'd' = True | |
IsHexDigit 'D' = True | |
IsHexDigit 'e' = True | |
IsHexDigit 'E' = True | |
IsHexDigit 'f' = True | |
IsHexDigit 'F' = True | |
IsHexDigit _ = False |
data IsHexDigitSym ch Source #
Instances
SingChPred IsHexDigitSym Source # | |
Defined in Symparsec.Parser.While.Predicates Methods | |
type App IsHexDigitSym (ch :: Char) Source # | |
Defined in Symparsec.Parser.While.Predicates |