RE: mkName problem

"Simon Peyton-Jones" <[email protected]> Wed, 26 Oct 2005 13:06:20 +0100
Newsgroups gmane.comp.lang.haskell.template
Message-ID <036EAC76E7F5EC4996A3B3C3657D4116038416AD@EUR-MSG-21.europe.corp.microsoft.com>
You are quite right.  I've fixed the HEAD, and the fix should appear in
6.4.2

 

Thanks for the report

 

Simon

 

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Tomasz
Zielonka
Sent: 07 October 2005 14:12
To: [email protected]
Subject: [Template-haskell] mkName problem

 

Hello!

The attached code shows a behaviour which I don't understand. This could
be a bug in TH or a misunderstanding on my side. The problem is that
dynamically
bound Names made with mkName sometimes "don't see" the variable. See
the code for details. It could be a bit shorter, but I wanted to show
why I cat't
use the 'var syntax. Try to --make T, then uncomment the marked line in
T.hs.

Best regards
Tomasz

_______________________________________________
template-haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/template-haskell