[GHC] #10865: Poly-kinded Const

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


#10865: Poly-kinded Const
-------------------------------------+-------------------------------------
        Reporter:  int-index         |                Owner:
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:  7.10.2
      Resolution:  duplicate         |             Keywords:  poly-kinded,
                                     |  Const
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
-------------------------------------+-------------------------------------

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/10865#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list