
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. /Shayan

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@gmail.com]
Sent: 02 August 2017 11:50
To: ghc-devs@haskell.org
Cc: Simon Peyton Jones

Shayan Najd
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.
Sounds reasonable to me. Cheers, - Ben
participants (3)
-
Ben Gamari
-
Shayan Najd
-
Simon Peyton Jones