Process template haskell expressions