on Wed Jun 29 2016, Anton Zhilin <[email protected]> wrote: > Dave Abrahams via swift-evolution <swift-evolution@...> writes: > >> I've updated my pull request with a much more conservative set of >> changes that preserves/restores label-free-ness for all “term of art” >> functional methods such as filter and reduce. >> >> https://github.com/apple/swift/pull/2981 >> >> My current thoughts are that many of the `by:` labels are awkward and >> not adding much. Perhaps they all ought to be omitted. > > In sort, by: makes perfect sense. > In lexicographicallyPrecedes (elementsEqual), by: makes some sense, > because Precedes (Equal) is in method name.
I don't understand your reasoning here. How does “precedes” being in the method name relate to “by?” > starts(with:by:) looks odd, maybe starts(with:comparingBy:) ? “starts(with” is in the method name; how is this different? -- Dave _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
