summaryrefslogtreecommitdiff
path: root/libraries/base/tests/T2528.hs
Commit message (Collapse)AuthorAgeFilesLines
* Preserve argument order to (==)/eq in nub and nubByThomas Miedema2014-11-071-0/+27
This makes nub and nubBy behave as specified in the Haskell 98 Report. This reverts 0ad9def53842e86fb292eccb810190711c42d7c5, and fixes #3280, #7913 and #2528 (properly). Before this change, the output of `T2528` was (4x wrong): ``` [A,B] [1,2] False False ``` Reviewed By: dfeuer, ekmett, austin, hvr Differential Revision: https://phabricator.haskell.org/D238