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

GHC ghc-devs at haskell.org
Wed Jan 28 17:52:46 UTC 2015


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

Comment (by ekmett):

 I, for one, would support this.

 We already have packages out there that have to define their own kind-
 polymorphic `Const`, e.g. `vinyl`.

 http://hackage.haskell.org/package/vinyl-0.5.1/docs/Data-Vinyl-
 Functor.html#t:Const

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


More information about the ghc-tickets mailing list