[GHC] #10886: Remove the magic from `Any`

GHC ghc-devs at haskell.org
Mon Jul 11 19:03:45 UTC 2016


#10886: Remove the magic from `Any`
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  goldfire
            Type:  task              |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  7.10.2
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2049
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by thomie):

 It doesn't matter that there is a small comment in the documentation that
 says to use `GHC.Exts` instead. `GHC.Prim` is out there, visible on
 hackage, and people are using it. There are ~375 modules importing
 `GHC.Prim` across 163 hackage packages. With GHC 8.0 and 8.2 some of those
 packages will be broken. What about 8.4?

 Breaking user code is bad, especially if there is zero benefit to users,
 and just causes busywork for users and maintainers. I run into these
 problems all the time when trying to reproduce bug reports with HEAD, and
 it's really quite annoying.

 > renaming it [..] would require a fair number of changes in the compiler

 I don't understand. But I guess there are a million more urgent GHC
 problems to work on, so I guess I should let it rest.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10886#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list