[Haskell-cafe] Problem with TemplateHaskell
Magicloud Magiclouds
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"?
>
> Max
>
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
mailing list