Skip to content
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

[SR-3458] Collapse various collection wrappers using conditional conformance #46046

airspeedswift opened this issue Dec 19, 2016 · 2 comments


Copy link

airspeedswift commented Dec 19, 2016

Previous ID SR-3458
Radar rdar://problem/31411207
Original Reporter @airspeedswift
Type Improvement
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Improvement, AffectsABI, swift-evolution-proposal-needed
Assignee @airspeedswift
Priority Medium

md5: c511734b8d422b61a3127634ab25d21c

Issue Description:

The conditional conformance feature from the generics manifesto, slated for Swift 4, enables the collapsing of a number of different wrapper types over bidirectional and random access collections in the standard library to be collapsed into single types:

  • LazyFilter*Collection should be collapsed into LazyFilterCollection

  • LazyMap*Collection should be collapsed into LazyMapCollection

  • *Slice should be collapsed into Slice

  • Default*Indices should be collapsed onto DefaultIndices

  • Reversed*Collection should be collapsed onto ReversedCollection

This would resolve ABI FIXMEs #27, 42, 45, 59, 66, 75

Copy link

bob-wilson commented Apr 3, 2017

@swift-ci create

Copy link

bob-wilson commented Dec 5, 2017

This is done in #12913

We will track Lazy and Range refactorings separately.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants