Sequence
protocol Sequence
-
Computes the sum of this sequence.
Declaration
Swift
public func sum() -> Element
-
Returns an iterator that generates all pairs of elements in this sequence in order. See
PairIterator
.Declaration
Swift
public func makePairs() -> PairIterator<Self, Self>.Iterator
Return Value
A PairIterator iterating over the pairs of the sequences.