[GHC] #10607: Auto derive from top to bottom

GHC ghc-devs at haskell.org
Wed Jul 8 13:24:08 UTC 2015


#10607: Auto derive from top to bottom
-------------------------------------+-------------------------------------
        Reporter:  songzh            |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:  deriving,
Operating System:  Unknown/Multiple  |  typeclass, auto
 Type of failure:  None/Unknown      |            Architecture:
      Blocked By:                    |  Unknown/Multiple
 Related Tickets:                    |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by goldfire):

 To me, this looks like the perfect application of Template Haskell. Yes,
 this ''could'' be built into GHC, but this seems like one step too far. If
 you're keen on this being built-in, perhaps seek out support on mailing
 lists and such to see whether others agree.

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


More information about the ghc-tickets mailing list