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

Copyright | Copyright (C) 2010 - Uwe Schmidt
License | MIT
Maintainer | Uwe Schmidt (uwe@fh-wedel.de)
Stability | stable
Portability | portable
Safe Haskell | Safe-Inferred
Language | Haskell98

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]