This is a modified version of wl-pprint, which was based on Wadler's
paper A Prettier Printer. See the haddocks for full info. This
version allows the library user to annotate the text with semantic
information, which can later be rendered in a variety of ways.