Sven Panne <svenpa...@gmail.com> writes: > 2015-05-06 16:21 GMT+02:00 Bardur Arantsson <s...@scientician.net>: >> +1, I'll wager that the vast majority of usages are just for version >> range checks. > > The OpenGL-related packages used macros to generate some binding magic > (a "foreign import" plus some helper functions for each API entry), > not just range checks.
So, metaprogramming. The question that comes to mind -- why suffer such a lousy tool as cpp for metaprogramming? Why *shouldn't* TH fill that role? What can be done about it? -- regards, Косырев Серёга _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs