The operations are fairly standard - see Regions in Paul
Hudak's 'The Haskell School of Expression' and the pretty
printing libraries wl-pprint and Text.PrettyPrint.HughesPJ
(pretty printing combinators are some ways in 'One and a
half D' as they have horizontal operations but only carriage
return in the vertical.