[GHC] #14524: Use sortOn instead of sortWith

GHC ghc-devs at haskell.org
Fri Nov 24 15:46:08 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
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nomeata):

 `SortOn` is there since 4.8, which, according to
 https://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/VersionHistory
 corresponds to GHC-7.10.1 – oh yes, this is definitely around for long
 enough. A differential revision with that change is will probably be well-
 received.

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


More information about the ghc-tickets mailing list