Documentation

This module contains a large variety of combinators for list-lile structures. the extension _ng indiactes that that varinat is the non-greedy variant.
See the Text.ParserCombinators.UU.Examples module for some exmaples of their use.

Optionally recognize parser p.

If p can be recognized, the return value of p is used. Otherwise,
the value v is used. Note that opt is greedy, if you do not want
this use ... | pure v instead. Furthermore, p should not
recognise the empty string, since this would make your parser ambiguous!!