Code formatting in documents

from blog Jonathan Dowland's Weblog, | ↗ original
I've been exploring typesetting and formatting code within text documents such as papers, or my thesis. Up until now, I've been using the listings package without thinking much about it. By default, some sample Haskell code processed by listings looks like this (click any of the images to see larger, non-blurry versions): It's formatted with a...