[GHC] #2496: Invalid Eq/Ord instances in Data.Version

GHC ghc-devs at haskell.org
Thu Sep 12 14:04:08 CEST 2013


#2496: Invalid Eq/Ord instances in Data.Version
-------------------------------------+------------------------------------
        Reporter:  guest             |            Owner:  duncan
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:  _|_
       Component:  libraries/base    |          Version:  6.8.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by duncan):

 Note that that is a different can of worms, trailing zeros.

 My suggestion is to remove the unused (and useless) tag field, then the
 derived Eq and Ord will be fine.

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



More information about the ghc-tickets mailing list