class PrettyPrint
Overview
This class implements a pretty printing algorithm. It finds line breaks and nice indentations for grouped structure.
References
- Ruby's prettyprint.rb
- Christian Lindig, Strictly Pretty, March 2000
- Philip Wadler, A prettier printer, March 1998