[GHC] #14524: Use sortOn instead of sortWith

GHC ghc-devs at haskell.org
Fri Nov 24 15:41:04 UTC 2017


#14524: Use sortOn instead of sortWith
-------------------------------------+-------------------------------------
           Reporter:  AndreasK       |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.2.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Other
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 `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.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14524>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list