swiftlang/swift

[SR-3760] zip should be a collection when both arguments are a collection

Open

#46,345 opened on Jan 27, 2017

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Swift (69,989 stars) (10,719 forks)batch import
affects ABIgood first issueimprovementstandard libraryswift evolution proposal needed

Description

Previous ID SR-3760
Radar rdar://problem/20751358
Original Reporter @airspeedswift
Type Improvement
Status In Progress
Resolution
Votes 0
Component/s Standard Library
Labels Improvement, AffectsABI, StarterProposal, swift-evolution-proposal-needed
Assignee dennisvennink (JIRA)
Priority Medium

md5: d1b6f411436063fefa65b78d5d22d8a2

Issue Description:

When the two things being zipped are collections, it should be possible to return a collection from zip. If they are bi-directional/random-access collections, the zipped collection should be too.

Contributor guide