[Haskell-cafe] Problem with TemplateHaskell
magicloud.magiclouds at gmail.com
Wed Nov 2 09:50:29 CET 2011
On Wed, Nov 2, 2011 at 4:08 PM, Max Bolingbroke
<batterseapower at hotmail.com> wrote:
> On 2 November 2011 07:42, Magicloud Magiclouds
> <magicloud.magiclouds at gmail.com> wrote:
>> How to avoid the name changing?
> Maybe you should use "nameBase" rather than "show"?
Yes, that is one of the problem.
And just now I found out that, the name changing occurred when using
quote, so at the very beginning, "data T" was not "data T" already.
More information about the Haskell-Cafe