[Issue 4909] Two suggestions for std.algorithm.schwartzSort()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 1 12:59:24 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4909
--- Comment #6 from bearophile_hugs at eml.cc 2011-10-01 12:58:40 PDT ---
In Clojure language the sort with a key function is named "sort-by":
http://clojuredocs.org/clojure_core/1.2.0/clojure.core/sort-by
In Mathematica it is named "SortBy":
http://reference.wolfram.com/mathematica/ref/SortBy.html
In Scala it is named "sortBy":
http://www.scala-lang.org/docu/files/collections-api/collections_5.html
I suggest to deprecate "schwartzSort" name. In Phobos the "sortBy" name (as in
Scala) will be better than "schwartzSort".
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list