Template Haskell Quick Start Use the template haskell (abbreviated to "TH") extension in a module with: {-# LANGUAGE TemplateHaskell #-} There are a few key pieces of syntax: