On 09/08/2011, at 23:15 , Sergei Trofimovich wrote:

the HEAD of syb-with-class fails with the following error when build
with ghc-7.2.1 and template-haskell-2.6:

http://code.google.com/p/syb-with-class/issues/detail?id=4

Is this a bug in TH?

Very likely:
   http://hackage.haskell.org/trac/ghc/ticket/5362

In TH code you now need to use "mkName" at variable uses instead of the names created directly with "newName". Repa had a similar problem.

Ben.