parser -package:ip
A pure interface to the module parser.
This parser can be used to parse
URI from strict
Text.
Remember to use a concrete non-polymorphic parser type for efficiency.
Create a parser from the given grammar.
A greedy attoparsec
Parser which requires the entire
Text input to match.
A greedy attoparsec
Parser using the specified
Delimiters set which requires the entire
Text input to
match.
Parse a country from its name using an attoparsec text parser. This
function is language-agnostic and can handle any source language. In
the case that one possible country name is a prefix of another
possible name (for example, United States vs United States of
America), the longest possible will be parsed.
BEncode format parser according to specification.
Like
fmap, except the function may be partial (
Nothing
causes the wizard to fail).
A JSON parser. N.B. This might not fit your usual understanding of
"parser". Instead you might like to think of
Parser as a "parse
result", i.e. a parser to which the input has already been applied.
A separate
Parser data type ensures that we don't forget to
skip spaces.