[swift-evolution] Stdlib closure argument labels and parameter names
Erica Sadun
erica at ericasadun.com
Mon Jun 27 11:02:21 CDT 2016
> On Jun 27, 2016, at 8:40 AM, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
> “each” is just what's required to make “so” read sensibly.
>
> (0..<100).filter(so: isPrime)
>
> doesn't make any obvious sense.
Shouldn't there be a term of art exemption for `filter(_:)`. Otherwise why not use `select(where:)`.
-- E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160627/b95a6921/attachment.html>
More information about the swift-evolution
mailing list