[GHC] #13009: Hierarchical Module Structure for GHC
GHC
ghc-devs at haskell.org
Tue Dec 20 00:35:57 UTC 2016
#13009: Hierarchical Module Structure for GHC
-------------------------------------+-------------------------------------
Reporter: hsyl20 | Owner:
Type: task | Status: new
Priority: low | Milestone:
Component: Compiler | Version: 8.0.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
| ModuleDependencies/Hierarchical
-------------------------------------+-------------------------------------
Currently GHC's modules are not hierarchical and have very short cryptic
names. I would like to revive this 8-year old proposal:
https://ghc.haskell.org/trac/ghc/wiki/ModuleDependencies/Hierarchical
Pros:
* cleaner code base and overall code structure easier to grasp
* better integration with other packages when using GHC API
* better documentation (cf
https://www.stackage.org/lts-7.14/package/ghc-8.0.1)
Cons:
* break the GHC (plugin) API
* may make "rebase" harder during the transition period
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13009>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list