Skip to content

Use sortOn instead of sortWith

sortWithprovides 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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information