apple / apple/swift-algorithms
`CombinationsSequence` should be a `Collection`
Open
- Dominant language
- Swift
- Stars
- 6.3k
- Forks
- 483
- PR merge metrics
- No merged PRs in 30d
Description
It's multipass (like almost every other `Sequence` in practice). Not being a collection limits its applicability in silly ways.
Contributor guide
Research direction
Start by locating CombinationsSequence and its existing Sequence conformance in the swift-algorithms repository, then inspect nearby sequence and collection implementations for the expected pattern. Confirm the collection requirements and add or update relevant tests so multipass behavior and collection operations are covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100