Instance Propertyswift-algorithms 1.2.1Algorithms
endIndex
Reductions.swift:292var endIndex: Index { get }
var endIndex: Index { get }
s10Algorithms27ExclusiveReductionsSequenceVAASlRzrlE8endIndexAcASlRzrlE0F0Vyxq__Gvp
What are these?4P4IV
where Base:Collection
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct ExclusiveReductionsSequence<Base, Result> where Base : Sequence
A sequence of applying a transform to the element of a sequence and the previously transformed result.
struct Index
protocol Collection<Element> : Sequence
A sequence whose elements can be traversed multiple times, nondestructively, and accessed by an indexed subscript.
var startIndex: Index { get }
subscript(position: Index) -> Result { get }
func distance(from start: Index, to end: Index) -> Int
func index(after index: Index) -> Index