uu-parsinglib- Online, error-correcting parser combinators;
monadic and applicative interfaces    This module contains a lot
of examples of the typical use of our parser combinator library.
We strongly encourage you to take a look at the source code At
the end you find a main function which demonstrates the main
characteristics. Only the run function is exported since it may
come in handy elsewhere.    run :: Show t => Parser t -> String
-> IO ()Source  The fuction run runs the parser and shows both
the result, and the correcting steps which were taken during the
parsing process.  pa :: Parser StringSource  Our first two
parsers are simple; one recognises a single a character and the
other one a single b. Since we will use them later we convert
the recognsied character into String so they can be easily
combined.  (<++>) :: Parser String -> Parser String -> Parser
StringSource  We can now run the parser pa on input "a", which
succeeds:   run pa "a"   Result: "a"  If we run the parser pa on
the empty input "",