Safe Haskell | Safe-Infered |
---|
Documentation
oneOf :: [Char] -> PP CharSource
Succeeds if the current character is in the supplied list of characters.
See also satisfy
.
vowel = oneOf "aeiou"
skipSpace
marks a position where whitespace is allowed to
occur. It accepts arbitrary space while parsing, and produces
no space while printing.
optSpace
marks a position where whitespace is desired to occur.
It accepts arbitrary space while parsing, and produces a
single space character while printing.
sepSpace
marks a position where whitespace is required to
occur. It requires one or more space characters while parsing,
and produces a single space character while printing.