Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Join [Pattern] | |
Or Pattern Pattern | |
Capture Pattern | |
CaptureAs Text Pattern | |
Many Bool Pattern | |
Replicate Int Int Pattern | |
Eof | |
Literal Text | |
Char CharPattern |
data CharPattern Source #
Any | |
Not CharPattern | |
Union CharPattern CharPattern | |
Intersect CharPattern CharPattern | |
CharRange Char Char | |
CharSet [Char] | |
CharClass CharClass |
Instances
Show CharPattern Source # | |
Defined in Unison.Util.Text.Pattern showsPrec :: Int -> CharPattern -> ShowS # show :: CharPattern -> String # showList :: [CharPattern] -> ShowS # | |
Eq CharPattern Source # | |
Defined in Unison.Util.Text.Pattern (==) :: CharPattern -> CharPattern -> Bool # (/=) :: CharPattern -> CharPattern -> Bool # | |
Ord CharPattern Source # | |
Defined in Unison.Util.Text.Pattern compare :: CharPattern -> CharPattern -> Ordering # (<) :: CharPattern -> CharPattern -> Bool # (<=) :: CharPattern -> CharPattern -> Bool # (>) :: CharPattern -> CharPattern -> Bool # (>=) :: CharPattern -> CharPattern -> Bool # max :: CharPattern -> CharPattern -> CharPattern # min :: CharPattern -> CharPattern -> CharPattern # |
AlphaNum | |
Upper | |
Lower | |
Whitespace | |
Control | |
Printable | |
MarkChar | |
Number | |
Punctuation | |
Symbol | |
Separator | |
Letter |
stackCaptures :: Stack -> Captures Source #
capturesToList :: Captures -> [Text] Source #
charPatternPred :: CharPattern -> Char -> Bool Source #