Uploaded image for project: 'Swift'
  1. Swift
  2. SR-3458

Collapse various collection wrappers using conditional conformance

    Details

      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

        Attachments

          Activity

            People

            • Assignee:
              airspeedswift Ben Cohen
              Reporter:
              airspeedswift Ben Cohen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: