[swift-evolution] Removing enumerated?

Ben Cohen ben_cohen at apple.com
Fri Feb 3 17:53:52 CST 2017


> On Feb 3, 2017, at 3:27 PM, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
> 
> I don't always make zip a method, but when I do, its argument label is
> “to:”

Hmm, that doesn’t sound very natural to me.

Then again the problem with “zip(with:)" is it’s already kind of a term of art for a version that takes a function to combine the two values.

There’s also the question of how to spell a non-truncating versions (returning optionals or taking a pad value).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170203/6e2d470a/attachment.html>


More information about the swift-evolution mailing list