You are quite right. I’ve fixed
the HEAD, and the fix should appear in 6.4.2
Thanks for the report
Simon
From:
template-haskell-bounces@haskell.org
[mailto:template-haskell-bounces@haskell.org] On
Behalf Of Tomasz Zielonka
Sent: 07 October 2005 14:12
To: template-haskell@haskell.org
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