on Wed Jun 29 2016, Matthew Johnson <matthew-AT-anandabits.com> wrote:

> A suggestion for the future enhancements - rename elementsEqual to
> elementsEquivalent.  If we make that change the shorter 'by' label
> would feel much less awkward to me in this method.

Well, 

  x.elementsEquivalent(y, by: areSameExceptForCase)

is more ungrammatical than 

  x.elementsEqual(y, by: areSameExceptForCase)

and breaks the connection with 

  x.elementsEqual(y) 

somewhat.

Maybe changing the closure parameter name to “areEqual” would be a
better choice.

-- 
Dave
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to