
On Fri, Dec 9, 2011 at 17:27, Antoine Latter
On Fri, Dec 9, 2011 at 2:17 PM, Erik Hesselink
wrote: Since you ask how other packages solve this problem, and since most packages use template haskell, I have to ask: why can't you use template haskell for this?
For my case, template haskell can't create modules, and template haskell solves a different problem - I've not interested in creating Haskell declarations from Haskell declarations - I'm interested in creating Haskell modules from an external, formal, specification. In a sense I'm compiling to Haskell.
It occurs to me that c2hs (or more appropriately the gtk2hsc2hs fork) is intended to solve this problem; have you looked into it? -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms