[GHC] #15097: Missing instance Applicative (K1 i c)

GHC ghc-devs at haskell.org
Sat Apr 28 07:13:56 UTC 2018


#15097: Missing instance Applicative (K1 i c)
-------------------------------------+-------------------------------------
           Reporter:  ekmett         |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Core           |           Version:  8.4.2
  Libraries                          |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 GHC.Generics has common instances for various haskell classes.

 It is missing the instance for Applicative (K1 i c) -- `K1 i` is morally
 like `Const` so it should have the same set of instances.

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


More information about the ghc-tickets mailing list