Bill Atkins wrote: > Have you looked at creating Template Haskell splices to generate this for you? > The thought had crossed my mind. On the other hand, with my current approach, the generated code is just another source file that doesn't look any different. On reflection, I kinda like that.