hxt-charproperties-9.1.1: Character properties and classes for XML and Unicode

Portability | portable
Stability | stable
Maintainer | Uwe Schmidt (uwe@fh-wedel.de)
Safe Haskell | Safe-Infered

Data.Set.CharSet

Description

Char sets implemeted as non overlapping sorted lists of intervalls

# Documentation

type CharSet = [(Char, Char)]

emptyCS :: CharSet

allCS :: CharSet

singleCS :: Char -> CharSet

stringCS :: String -> CharSet

rangeCS :: Char -> Char -> CharSet

nullCS :: CharSet -> Bool

fullCS :: CharSet -> Bool

unionCS :: CharSet -> CharSet -> CharSet

diffCS :: CharSet -> CharSet -> CharSet

intersectCS :: CharSet -> CharSet -> CharSet

exorCS :: CharSet -> CharSet -> CharSet

compCS :: CharSet -> CharSet

elemCS :: Char -> CharSet -> Bool

toListCS :: CharSet -> [Char]