On Fri, Dec 9, 2011 at 20:45, L Corbijn <aspergesoe...@gmail.com> wrote:
> So I'm interested if there are other libraries that are more suitable
> to the task of generating haskell code for library use, and thus
> generate 'human readable' exported code (so no TH). I'm also
> interested in how other projects generate code for their packages.

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?

Another option (also not code generation, but very useful in reducing
boilerplate) is generic programming, for example using the 'regular'
package, or the new generics in GHC 7.2.

Erik

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to