Instance Methodswift-algorithms 1.2.1Algorithms
next
Combinations.swift:180mutating func next() -> [Base.Element]?
mutating func next() -> [Base.Element]?
s10Algorithms20CombinationsSequenceV8IteratorV4nextSay7ElementQzGSgyF
What are these?3S0NF
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct Iterator
The iterator for a CombinationsSequence
instance.
struct CombinationsSequence<Base> where Base : Collection
A collection wrapper that generates combinations of a base collection.
associatedtype Element where Self.Element == Self.Iterator.Element
A type representing the sequence’s elements.