[GHC] #15082: Split the TrieMap module into a generic and core specific part.
GHC
ghc-devs at haskell.org
Tue Apr 24 13:58:56 UTC 2018
#15082: Split the TrieMap module into a generic and core specific part.
-------------------------------------+-------------------------------------
Reporter: AndreasK | Owner: (none)
Type: task | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version:
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): Phab:D4618 | Wiki Page:
-------------------------------------+-------------------------------------
== Split the module into two parts.
Motivation: I came across a situation where I would have liked to make
LabelMap a instance of TrieMap.
However this would create a transitive dependency on CoreSyn for
essentially all Cmm related Modules which seemed excessive.
Splitting TrieMap into a general and Core specific part changes this. It
also leads to a nicer separation of concerns.
I have implemented a first version of this in D4618.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15082>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list