
21 Jun
2007
21 Jun
'07
11:55 a.m.
Hi, On Thursday 21 June 2007 09:27:58 Tomasz Zielonka wrote:
I think the reasons are mostly insufficient resources and not enough interest to justify the effort. I think an interesting lesson about this comes from the effort that went into Template Haskell (which, BTW, offers some kind of compile time reflection) - this was probably very hard to design and implement, but my impression is that it's not widely used, despite being "cool" and useful.
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? titto