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

GHC ghc-devs at haskell.org
Mon Jul 20 01:07:48 UTC 2015


#10598: DeriveAnyClass and GND don't work well together
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 I'm confused by a lot of this thread. As I mentioned in comment:2,
 `DeriveAnyClass` will never derive `Functor`, even when it is the only
 deriving extension enabled. So I would expect the presence of
 `DeriveAnyClass` to be irrelevant to any attempt to derive `Functor`,
 whatever other deriving extensions are enabled. And I think this behavior
 is (poorly) documented, by the word "other" in the description of
 `DeriveAnyClass`.

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


More information about the ghc-tickets mailing list