[GHC] #3280: The order of arguments to the function passed to nubBy got swapped somehow

GHC trac at galois.com
Tue Jun 9 15:41:02 EDT 2009


#3280: The order of arguments to the function passed to nubBy got swapped somehow
---------------------------------+------------------------------------------
    Reporter:  guest             |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:                  
   Component:  libraries/base    |      Version:  6.10.3          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by duncan):

 Clearly we must have `nub = nubBy (==)`. So perhaps that means we need to
 fix `nub` to bring it in line with the previous definition of `nubBy` (if
 that's agreed to be the sensible definition).

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


More information about the Glasgow-haskell-bugs mailing list