[swift-evolution] [Draft] Rename Sequence.elementsEqual

Ole Begemann ole at oleb.net
Sat Oct 14 17:35:52 CDT 2017

> One rationale I heard (I think from Ben Cohen) for why 'first' is not defined on Collection is that Sequences can be single-pass, and it would feel weird for a seemingly innocuous property like 'first' to have side effects.

This should be "not defined on Sequence", of course. Apologies for making the same mistake I was pointing out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171015/74b8551a/attachment.html>

More information about the swift-evolution mailing list