stringprep-1.0.0: Implements the "StringPrep" algorithm
Safe HaskellSafe
LanguageHaskell98

Text.CharRanges

Synopsis

Documentation

data Range Source #

Constructors

Single !Char 
Range !Char !Char 

Instances

Instances details
Eq Range Source # 
Instance details

Defined in Text.CharRanges

Methods

(==) :: Range -> Range -> Bool

(/=) :: Range -> Range -> Bool

Show Range Source # 
Instance details

Defined in Text.CharRanges

Methods

showsPrec :: Int -> Range -> ShowS

show :: Range -> String

showList :: [Range] -> ShowS

range :: Char -> Char -> Range Source #

single :: Char -> Range Source #

toSet :: [Range] -> CharSet Source #

Allows quick lookups using ranges.

member :: Char -> CharSet -> Bool Source #