[GHC] #7066: isInstance does not work for compound types

GHC cvs-ghc at haskell.org
Mon Jul 16 14:04:30 CEST 2012


#7066: isInstance does not work for compound types
---------------------------------+------------------------------------------
    Reporter:  edsko             |       Owner:  simonpj         
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  Template Haskell  |     Version:  7.4.2           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by edsko):

 I see. Fair enough, but then it would be very useful if a separate
 function was provided that ''does'' have the "expected" behaviour for
 things like (Int, A) (for some definition of "expected" :). It's not
 obvious to me that such a function is easily user-definable.

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



More information about the Glasgow-haskell-bugs mailing list