“Colour” pretty printing

Also, I did spend a few minutes trying to get my colored pretty printing support for GHC working.  I kind of succeeded.  I could actually produce colors, but due to the way the Hughes-Peyton Jones pretty printer wants certain things to commute, I couldn't come up with a good way to prevent parts of the accumulated document from getting pushed inside of color blocks that they shouldn't.

So I'm going to read through the paper when I get back to Philly and hopefully figure out a way to integrate "rich text" into Hughes-Peyton Jones pretty printing.

Leave a Comment