
21 Jun
2007
21 Jun
'07
12:27 p.m.
Hello Pasqualino, Thursday, June 21, 2007, 3:55:35 PM, you wrote:
I wonder: would it be possible to use the compile time reflection facilities of TH to write a 'serialise' function, keeping the TH AST so that it can be used at run-time?
yes. but you will need to find any functions used in definition - i.e. it should be either fixed set of hard-encoded functions or some sort of dynamic binding a-la hs-plugin -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com