mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-12-18 05:41:39 +03:00
77a54394b5
Added new character parsers in ‘Text.Megaparsec.Char’: * ‘controlChar’ * ‘printChar’ * ‘markChar’ * ‘numberChar’ * ‘punctuationChar’ * ‘symbolChar’ * ‘separatorChar’ * ‘asciiChar’ * ‘latin1Char’ * ‘charCategory’ Renamed some parsers: ‘spaces’ → ‘space’ ‘space’ → ‘spaceChar’ ‘lower’ → ‘lowerChar’ ‘upper’ → ‘upperChar’ ‘letter’ → ‘letterChar’ ‘alphaNum’ → ‘alphaNumChar’ ‘digit’ → ‘digitChar’ ‘octDigit’ → ‘octDigitChar’ ‘hexDigit’ → ‘hexDigitChar’ Descriptions of old parsers have been updated to accent some Unicode-specific moments. For example, old description of ‘letter’ stated that it parses letters from “a” to “z” and from “A” to “Z”. This is wrong, since it used ‘Data.Char.isAlpha’ predicate internally and thus parsed many more characters. |
||
---|---|---|
.. | ||
Megaparsec | ||
Megaparsec.hs |