I'm thinking about these variants: - [text-builder](https://hackage.haskell.org/package/text-builder) as a replacement for the current padding and printing. - [prettyprinter](https://hackage.haskell.org/package/prettyprinter) as a way more generic solution that will help to drop any manual padding and low-level text manipulations.