[GHC] #5677: Allow the definition of extra functions in typeclass instances

GHC cvs-ghc at haskell.org
Mon Dec 5 03:10:16 CET 2011


#5677: Allow the definition of extra functions in typeclass instances
---------------------------------------------+------------------------------
    Reporter:  FUZxxl                        |        Owner:                           
        Type:  feature request               |       Status:  new                      
    Priority:  normal                        |    Milestone:                           
   Component:  Compiler                      |      Version:  7.2.1                    
    Keywords:  instance typeclass extension  |     Testcase:                           
   Blockedby:                                |   Difficulty:                           
          Os:  Unknown/Multiple              |     Blocking:                           
Architecture:  Unknown/Multiple              |      Failure:  GHC rejects valid program
---------------------------------------------+------------------------------

Comment(by simonpj):

 Your suggestion makes perfect sense, but for me it falls just on the side
 of not-quite-worth-it.  Let's see if there's a lot of other support.

 Simon

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



More information about the Glasgow-haskell-bugs mailing list