[GHC] #5462: Deriving clause for arbitrary classes

GHC cvs-ghc at haskell.org
Thu Sep 8 00:09:54 CEST 2011


#5462: Deriving clause for arbitrary classes
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  7.2.1       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by dterei):

 I would vote in favour of this. I was a little disappointed when learning
 the new deriving mechanism that you couldn't already do this. I like that
 this method doesn't present to a user any difference from deriving Show to
 deriving C. That is what I think is more important, not the compactness
 but reusing the same interface for both which lowers the complexity.

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



More information about the Glasgow-haskell-bugs mailing list