Restructuring hsSyn

Simon Peyton Jones simonpj at
Wed Aug 2 11:06:47 UTC 2017

I don’t object.   (They’d be orphan instances, so the interface file will always be loaded; but that’s probably ok.

From: Shayan Najd [mailto:sh.najd at]
Sent: 02 August 2017 11:50
To: ghc-devs at
Cc: Simon Peyton Jones <simonpj at>; Alan & Kim Zimmerman <alan.zimm at>
Subject: Restructuring hsSyn

Currently AST declarations, their relate utilities, and `Outputable` instances are defined in the same files.
Does anyone object to moving `Outputable` instances to separate files?
The purpose is to gradually identify reusable functionalities, group them together, polish them (e.g., remove some unnecessary dependencies), and expose them to the end-users.
At this stage, I don't expect any changes outside hsSyn.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list