Text.CharRanges
data Range Source #
Constructors
Defined in Text.CharRanges
Methods
(==) :: Range -> Range -> Bool
(/=) :: Range -> Range -> Bool
showsPrec :: Int -> Range -> ShowS
show :: Range -> String
showList :: [Range] -> ShowS
range :: Char -> Char -> Range Source #
single :: Char -> Range Source #
data CharSet Source #
toSet :: [Range] -> CharSet Source #
Allows quick lookups using ranges.
member :: Char -> CharSet -> Bool Source #