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.

 

Eh? I don’t understand that.  Can you give a small example?

Simon

 

From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users-bounces@haskell.org] On Behalf Of Ben Lippmeier
Sent: 09 August 2011 14:44
To: Bas van Dijk
Cc: glasgow-haskell-users@haskell.org Mailing List
Subject: Re: Build failure of syb-with-class with ghc-7.2.1

 

 

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.