| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
ASCII.ListsAndPredicates
Contents
Synopsis
- module ASCII.Lists
- module ASCII.Predicates
Re-exported modules
module ASCII.Lists
module ASCII.Predicates
Notes
The two modules re-exported here present the same information in two different forms:
- As a list of all ASCII characters with some classification;
- As a function that tests whether a particular character belongs to the classification.
Each list contains exactly the characters for which its corresponding predicate is true.
>>>controlCodes == filter isControl allTrue
>>>printableCharacters == filter isPrint allTrue
>>>letters == filter isLetter allTrue
>>>capitalLetters == filter isUpper allTrue
>>>smallLetters == filter isLower allTrue
>>>digits == filter isDigit allTrue
>>>numbers == filter isNumber allTrue
>>>octDigits == filter isOctDigit allTrue
>>>hexDigits == filter isHexDigit allTrue
>>>visibleCharacters == filter isVisible allTrue