
7 Feb
2006
7 Feb
'06
8:52 p.m.
Hello Arie, Tuesday, February 07, 2006, 10:47:12 PM, you wrote: AP> Bulat, thanks for your quick reaction. i know his code good enough because i borrowed it for my own TH support ;) AP> It turns out that I imported "Data.Map" qualified (as "Map") and had "Map" AP> defined as
type Map = Map.Map
AP> . This type synonym was what SerTH stumbled on. Deriving the AP> "Serializable" instance using the real name "Map.Map" solved it. yes, this code don't support deriving via type synonyms. i will add this to my own TH support, just for fun :) -- Best regards, Bulat mailto:bulatz@HotPOP.com