[GHC] #4040: Eq instance for Data.Data.DataType

GHC cvs-ghc at haskell.org
Thu May 6 10:23:58 EDT 2010


#4040: Eq instance for Data.Data.DataType
---------------------------------+------------------------------------------
    Reporter:  Eelis-            |        Owner:  igloo       
        Type:  feature request   |       Status:  patch       
    Priority:  normal            |    Milestone:              
   Component:  libraries/base    |      Version:  6.12.2      
    Keywords:  syb               |   Difficulty:              
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by igloo):

 It feels wrong for `DataType` and `Constr` to have `Eq` instances that
 behave differently. Should we have a
 [http://www.haskell.org/haskellwiki/Library_submissions library proposal]
 to change them both to be derived?

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


More information about the Glasgow-haskell-bugs mailing list