Build failure of syb-with-class with ghc-7.2.1

Simon Peyton-Jones simonpj at microsoft.com
Tue Aug 9 16:08:34 CEST 2011


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 at haskell.org [mailto:glasgow-haskell-users-bounces at haskell.org] On Behalf Of Ben Lippmeier
Sent: 09 August 2011 14:44
To: Bas van Dijk
Cc: glasgow-haskell-users at 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20110809/17cd3c6e/attachment-0001.htm>


More information about the Glasgow-haskell-users mailing list