We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe127a2 + 7c646d9 commit f59d730Copy full SHA for f59d730
CHANGELOG.md
@@ -5,8 +5,8 @@ Swift 3.0
5
6
* [SE-0045](https://github.com/apple/swift-evolution/blob/master/proposals/0045-scan-takewhile-dropwhile.md)
7
8
- The `Sequence` protocol now includes two new members, `take(while:)` and
9
- `drop(while:)`. `take(while:)` is used to request the longest subsequence
+ The `Sequence` protocol now includes two new members, `prefix(while:)` and
+ `drop(while:)`. `prefix(while:)` is used to request the longest subsequence
10
satisfying a predicate. `drop(while:)` is used to request the subsequence
11
remaining after dropping the longest subsequence satisfying a predicate.
12
0 commit comments