Instance Methodswift-algorithms 1.2.1Algorithms
index(after:)
Reductions.swift:527func index(after index: Index) -> Index
func index(after index: Index) -> Index
s10Algorithms27InclusiveReductionsSequenceVAASlRzrlE5index5afterAcASlRzrlE5IndexVyx_GAH_tF
What are these?3OGXV
where Base:Collection
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct InclusiveReductionsSequence<Base> where Base : Sequence
struct Index
protocol Collection<Element> : Sequence
A sequence whose elements can be traversed multiple times, nondestructively, and accessed by an indexed subscript.
var endIndex: Index { get }
var startIndex: Index { get }
subscript(index: Index) -> Base.Element { get }
func distance(from start: Index, to end: Index) -> Int