Recently I’ve been thinking about how little information there is out there on Template Haskell or other boilerplate-erasing libraries. In Haskell we have plenty of tools for deriving, or generics, or macro-generated Template Haskell, but tutorials or documentation are not always readily available. Today I’m writing to announce that I have posted a Template Haskell tutorial on my GitHub in case anyone wants more exposure to learning about it or using it.

As are all tutorials, this is in-progress, so if you have any feedback I’d love to hear it! The easiest place to find me is on fpchat (@dfithian).

Here’s the link again: https://github.com/dfithian/th-tutorial.