[GHC] #10598: DeriveAnyClass and GND don't work well together

GHC ghc-devs at haskell.org
Tue Sep 27 23:14:33 UTC 2016


#10598: DeriveAnyClass and GND don't work well together
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  RyanGlScott
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  7.11
      Resolution:                    |             Keywords:  Generics
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2280
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Replying to [comment:50 nomeata]:
 > How about `deriving stock Eq` instead?

 I spent so long looking for `builtin` synonyms that I had never considered
 `stock` as an option. I have to say, I really like that suggestion. I've
 posted a [https://mail.haskell.org/pipermail/ghc-
 devs/2016-September/012880.html follow-up] to the ghc-devs mailing list
 thread in which I argue in favor of `stock`. If nobody raises a serious
 objection, I think I'll make the switch to use that keyword instead.

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


More information about the ghc-tickets mailing list