On 27.06.2016 19:02, Erica Sadun via swift-evolution wrote:
On Jun 27, 2016, at 8:40 AM, Dave Abrahams via swift-evolution
<swift-evolution@swift.org <mailto:swift-evolution@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:)`.
Support the question. IMO we should have filter(_:) as term-of-art or
otherwise rename it to be more swifty and with conformance to naming rules.
FWIW I also like select(where:)
-- E
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution