Three configurable prettyprinters (2023)
Summary
The article surveys three configurable approaches to pretty-printing in Haskell under the 'pretty-gist' project, presenting classless, one-class, and two-class solutions with code examples and tradeoffs. It discusses design goals, use cases, and implications, including a practical GameState rendering example and how to configure renderers for nested data structures.