<div dir="ltr"><div><div>Richard<br><br></div>Thanks for the support.  The major change in HsSyn since the pretty printer was first written is that the parser now preserves parens in the original source, which it did not used to, so this approach is now feasible.<br><br></div><div>And I am starting to bump into tests failing which require updating the generic deriving code to add parens.<br></div><div><br></div><div>Alan<br></div></div>