[swift-evolution] [Pitch] Add an all algorithm to Sequence
Nevin Brackett-Rozinsky
nevin.brackettrozinsky at gmail.com
Fri Mar 31 11:58:59 CDT 2017
For “all(equal:)” I think there should be no argument label. We can already
write “nums.contains(9)”, so if we add “all” then we should be able to
write “nums.all(9)”.
Other than that, I like the idea.
Nevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170331/18a6a6d8/attachment.html>
More information about the swift-evolution
mailing list