data SimpleDocTree ann
A SimpleDocStream is a linked list of different annotated cons cells
(SText and then some further SimpleDocStream, SLine and then some
further SimpleDocStream, …). This format is very suitable as a target for a
layout engine, but not very useful for rendering to a structured format such
as HTML, where we don’t want to do a lookahead until the end of some markup.
These formats benefit from a tree-like structure that explicitly marks its
contents as annotated. SimpleDocTree is that format.