Hi! On Tue, Mar 29, 2011 at 10:35 AM, Simon Marlow <marlowsd at gmail.com> wrote: > Use Template Haskell, or a CPP macro? Please help. I tried with macro but it is ugly as it requires non-haskell syntax of calling functions. Mitar