Skip to content

Fix broken links #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Guides/Chain.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Chain

[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/Chain.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/AlgorithmsTests/ChainTests.swift)]
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/ChainTests.swift)]

Concatenates two collections with the same element type, one after another.

Expand Down
2 changes: 1 addition & 1 deletion Guides/Chunked.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Chunked

[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/Chunked.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/AlgorithmsTests/ChunkedTests.swift)]
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/ChunkedTests.swift)]

Break a collection into subsequences where consecutive elements pass a binary
predicate, or where all elements in each chunk project to the same value.
Expand Down
2 changes: 1 addition & 1 deletion Guides/Combinations.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Combinations

[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/Combinations.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/AlgorithmsTests/CombinationsTests.swift)]
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/CombinationsTests.swift)]

A type that computes combinations of a collection’s elements.

Expand Down
2 changes: 1 addition & 1 deletion Guides/Cycle.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Cycle

[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/Cycle.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/AlgorithmsTests/CycleTests.swift)]
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/CycleTests.swift)]

Iterate over a collection forever, or a set number of times.

Expand Down
2 changes: 1 addition & 1 deletion Guides/Indexed.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Indexed

[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/Indexed.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/AlgorithmsTests/IndexedTests.swift)]
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/IndexedTests.swift)]

The `enumerated` method, but pairing each element with its index instead of an
incrementing integer counter.
Expand Down
2 changes: 1 addition & 1 deletion Guides/Partition.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Partition

[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/Partition.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/AlgorithmsTests/PartitionTests.swift)]
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/PartitionTests.swift)]

Methods for performing a stable partition on mutable collections, and for
finding the partitioning index in an already partitioned collection.
Expand Down
2 changes: 1 addition & 1 deletion Guides/Permutations.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Permutations

[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/Permutations.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/AlgorithmsTests/PermutationsTests.swift)]
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/PermutationsTests.swift)]

A type that computes permutations of a collection’s elements, or of a subset of
those elements.
Expand Down
2 changes: 1 addition & 1 deletion Guides/Product.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Product

[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/Product.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/AlgorithmsTests/ProductTests.swift)]
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/ProductTests.swift)]

A function for iterating over every pair of elements in two different
collections.
Expand Down
2 changes: 1 addition & 1 deletion Guides/RandomSampling.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Random Sampling

[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/RandomSample.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/AlgorithmsTests/RandomSampleTests.swift)]
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/RandomSampleTests.swift)]

Operations for randomly selecting `k` elements without replacement from a
sequence or collection.
Expand Down
2 changes: 1 addition & 1 deletion Guides/Rotate.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Rotate

[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/Rotate.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/AlgorithmsTests/RotateTests.swift)]
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/RotateTests.swift)]

A mutating method that rotates the elements of a collection to new positions.

Expand Down
2 changes: 1 addition & 1 deletion Guides/Unique.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Unique

[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/Unique.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/AlgorithmsTests/UniqueTests.swift)]
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/UniqueTests.swift)]

Methods to strip repeated elements from a sequence or collection.

Expand Down