6 Apr
2014
6 Apr
'14
11:06 p.m.
"On" has some precedent in Function.on, i.e. sortOn k = sortBy (compare `on` k) Of course that's the "cheap key" version, I guess you're discussing adding the expensive key version. On Apr 6, 2014 1:34 PM, <johnw@newartisans.com> wrote:
Niklas Haas <haskell@nand.wakku.to> writes:
Oh yes, 'sortOn' is a really nice name. :)
Huh, that name just reminded me of GHC.Exts.sortWith:
Either of the names sortOn, or sortWith, sound good. I think I prefer sortWith.
John _______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries