add template-haskell sample