#2528: reverse the order of args to (==) in nubBy to match nub
authorSimon Marlow <marlowsd@gmail.com>
Tue, 2 Sep 2008 09:29:50 +0000 (09:29 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 2 Sep 2008 09:29:50 +0000 (09:29 +0000)
commit0c5bf34eb6edcc423ba2e1f4e2eb27c059a1f8ef
treebe71e9f4b680b04d1213430b877bd22c2a814e00
parentb0e2f9ce6acf3b081c7b05e298978117d719709f
#2528: reverse the order of args to (==) in nubBy to match nub
This only makes a difference when the (==) definition is not
reflexive, but strictly speaking it does violate the report definition
of nubBy, so we should fix it.
Data/List.hs