[GHC] #14767: Move Data.Functor.Contravariant into base

GHC ghc-devs at haskell.org
Fri Mar 2 21:07:30 UTC 2018


#14767: Move Data.Functor.Contravariant into base
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:  base
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"8c7a1551fcd004c37f4ccd99c7c10395179519f1/ghc"
 8c7a1551/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="8c7a1551fcd004c37f4ccd99c7c10395179519f1"
 Move Data.Functor.Contravariant from the contravariant package to base.

 Move Data.Functor.Contravariant from the contravariant package to base.
 Since base is the bottom of the dependency hierarchy, several instances
 have been removed. They will need to be added to the following packages:
 transformers, StateVar, and possibly tagged. There may not actually have
 been any types from tagged that previous had instanced provided by this
 module though, since it may have only been used for Data.Proxy.
 Additionally,
 all CPP has been removed. Derived Typeable instances have been removed
 (since Typeable is now automatically derived for everything). The language
 extension Safe is still used, although it is unclear to ATM whether or not
 it is necessary.

 This resolves trac issue #14767.

 Test Plan: validate

 Reviewers: RyanGlScott, ekmett, hvr, bgamari

 Reviewed By: RyanGlScott

 Subscribers: rwbarton, thomie, ekmett, carter, RyanGlScott

 GHC Trac Issues: #14767

 Differential Revision: https://phabricator.haskell.org/D4399
 }}}

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


More information about the ghc-tickets mailing list