[Template-haskell] RE: ghc-6.4.1: panic - Prelude.last: empty list