[swift-evolution] [Accepted] SE-0032: Add find method to Sequence

Chris Lattner clattner at apple.com
Wed May 4 18:18:28 CDT 2016

Proposal link: https://github.com/apple/swift-evolution/blob/master/proposals/0032-sequencetype-find.md

Hello Swift Community,

The review of SE-0032: "Add find method to Sequence" ran from April 28...May 3, 2016. The proposal is *accepted* for Swift 3, with a requested naming revision:

// Original proposal:
numbers.find { isPrime($0) }

// Requested update:
numbers.first { isPrime($0) }
numbers.first(where: isPrime)

Thank you to Kevin Ballard for proposing this!

Review Manager

More information about the swift-evolution mailing list