[Haskell-cafe] Haskell serialisation, was: To yi or not to yi...

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Jun 21 08:27:07 EDT 2007

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 at gmail.com

More information about the Haskell-Cafe mailing list