On Wed, Nov 2, 2011 at 4:50 PM, Magicloud Magiclouds
<[email protected]> wrote:
> On Wed, Nov 2, 2011 at 4:08 PM, Max Bolingbroke
> <[email protected]> wrote:
>> On 2 November 2011 07:42, Magicloud Magiclouds
>> <[email protected]> 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.
>
> --
> 竹密岂妨流水过
> 山高哪阻野云飞
>

I kind of fingering out where am I wrong.
I should declare the data type in quote. I should make it outside the
template and using type name and reify to get it in bson.

-- 
竹密岂妨流水过
山高哪阻野云飞

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

Reply via email to