From 66a56e36e7f06b152c65d6a39f7e5954feff3996 Mon Sep 17 00:00:00 2001 From: Pranav Kasetti Date: Mon, 3 May 2021 19:30:25 +0100 Subject: [PATCH] =?UTF-8?q?Add=20new=20heading=20and=20description=20for?= =?UTF-8?q?=20partitionIndex=20=F0=9F=A4=B7=E2=80=8D=E2=99=82=EF=B8=8F.=20?= =?UTF-8?q?(#137)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add new heading and description for partitionIndex 🤷‍♂️. * Move into Other useful ops. * Update README.md Co-authored-by: Nate Cook * Update README.md Co-authored-by: Xiaodi Wu <13952+xwu@users.noreply.github.com> Co-authored-by: Nate Cook Co-authored-by: Xiaodi Wu <13952+xwu@users.noreply.github.com> --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 410a531..614a1ec 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ Read more about the package, and the intent behind it, in the [announcement on s - [`firstNonNil(_:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/FirstNonNil.md): Returns the first non-`nil` result from transforming a sequence's elements. - [`indexed()`](https://github.com/apple/swift-algorithms/blob/main/Guides/Indexed.md): Iterate over tuples of a collection's indices and elements. - [`interspersed(with:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Intersperse.md): Place a value between every two elements of a sequence. +- [`partitioningIndex(where:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Partition.md): Returns the starting index of the partition of a collection that matches a predicate. - [`reductions(_:)`, `reductions(_:_:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Reductions.md): Returns all the intermediate states of reducing the elements of a sequence or collection. - [`split(maxSplits:omittingEmptySubsequences:whereSeparator)`, `split(separator:maxSplits:omittingEmptySubsequences)`](https://github.com/apple/swift-algorithms/blob/main/Guides/LazySplit.md): Lazy versions of the Standard Library's eager operations that split sequences and collections into subsequences separated by the specified separator element. - [`windows(ofCount:)`](https://github.com/apple/swift-algorithms/blob/main/Guides/Windows.md): Breaks a collection into overlapping subsequences where elements are slices from the original collection.