-
Zip2Collection: A
Collection
-conforming version ofZip2Sequence
:- Requires that both bases conform to Collection.
- When both bases conform to
RandomAccessCollection
,Zip2Sequence
does also. - When both bases conform to
MutableCollection
,Zip2Sequence
does also.
-
func zip<C0, C1>(_ x0: C0, _ x1: C1) -> Zip2Collection<C0, C1>
analogous to theZip2Sequence
-returning function in the standard library. -
extension Collection { func enumerated() -> Zip2Sequence<Range<Int>, Element> }
, semantically equivalent to the standard library method onSequence
of the same name.
-
Notifications
You must be signed in to change notification settings - Fork 0
A version of Zip2Sequence that is a Collection when its underlying sequences are
License
loftware/Zip2Collection
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A version of Zip2Sequence that is a Collection when its underlying sequences are
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published