Template Haskell determinism