[GHC] #10039: Make Const (Control.Applicative) kind polymorphic in its second argument

GHC ghc-devs at haskell.org
Mon Dec 21 12:41:39 UTC 2015


#10039: Make Const (Control.Applicative) kind polymorphic in its second argument
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:  7.8.4
      Resolution:                    |             Keywords:  report-impact
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1630
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"edcf17bd2ae503c2dda43ded40dca0950edfd018/ghc" edcf17b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="edcf17bd2ae503c2dda43ded40dca0950edfd018"
 Move Const to own module in Data.Functor.Const and enable PolyKinds

 `Const` from `Control.Applicative` can trivially be made
 kind-polymorphic in its second argument. There has been a Trac issue
 about this for nearly a year now. It doesn't look like anybody objects
 to it, so I figured I might as well make a patch.

 Trac Issues: #10039, #10865, #11135

 Differential Revision: https://phabricator.haskell.org/D1630

 Reviewers: ekmett, hvr, bgamari

 Subscribers: RyanGlScott, thomie
 }}}

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


More information about the ghc-tickets mailing list