Use sortOn instead of sortWith
sortWith
provides the same functionality as sortOn
from Data.List
.
As sortOn is already part of Prelude it makes sense for the GHC source to use it as well.
Trac metadata
Trac field | Value |
---|---|
Version | 8.2.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |