Pandoc (a Haskell library and executable) reads and write multiple document formats; this article shows how to script Pandoc to manipulate a document in transit.
I love these kinds of presentations: someone's deep in their element, firing off statistics and war stories, and dreaming of a brighter future. Game programming, informed by Haskell?