On Fri, Dec 9, 2011 at 6:32 PM, Brandon Allbery <allber...@gmail.com> wrote: > On Fri, Dec 9, 2011 at 17:27, Antoine Latter <aslat...@gmail.com> wrote: >> >> On Fri, Dec 9, 2011 at 2:17 PM, Erik Hesselink <hessel...@gmail.com> >> 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? >
That may be good for the opengl-raw, I was working on generating Haskell modules from an XML spec - I crashed the thread with my own (similar) problems :-) > -- > brandon s allbery allber...@gmail.com > wandering unix systems administrator (available) (412) 475-9364 vm/sms > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe