SwiftstructAlgorithmsInternal

struct AlgorithmsInternal.InclusiveReductionsSequence

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 17

  1. fieldlet base: A
  2. fieldlet transform: (A.Sequence.Element, A.Sequence.Element) -> A.Sequence.Element
  3. funcAlgorithmsInternal.InclusiveReductionsSequence< where A: Collection>.distance(from: AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index, to: AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index) -> Int
  4. funcAlgorithmsInternal.InclusiveReductionsSequence< where A: Collection>.index(after: AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index) -> AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index
  5. funcmakeIterator() -> AlgorithmsInternal.InclusiveReductionsSequence<A>.Iterator
  6. initinit(base: A, transform: (A.Element, A.Element) -> A.Element) -> AlgorithmsInternal.InclusiveReductionsSequence<A>
  7. subscriptAlgorithmsInternal.InclusiveReductionsSequence< where A: Collection>.subscript.getter : (AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index) -> A.Element
  8. typealiastypealias Element = A.Swift.Sequence.Element
  9. typealiastypealias Element = A.Swift.Sequence.Element
  10. typealiastypealias Elements = AlgorithmsInternal.InclusiveReductionsSequence<A>
  11. typealiastypealias Index = (extension in AlgorithmsInternal):AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Swift.Collection>.Index
  12. typealiastypealias Indices = Swift.DefaultIndices<AlgorithmsInternal.InclusiveReductionsSequence<A>>
  13. typealiastypealias Iterator = AlgorithmsInternal.InclusiveReductionsSequence<A>.Iterator
  14. typealiastypealias Iterator = AlgorithmsInternal.InclusiveReductionsSequence<A>.Iterator
  15. typealiastypealias SubSequence = Swift.Slice<AlgorithmsInternal.InclusiveReductionsSequence<A>>
  16. varvar endIndex: AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index { get }
  17. varvar startIndex: AlgorithmsInternal.InclusiveReductionsSequence<A>< where A: Collection>.Index { get }
struct InclusiveReductionsSequence<A> where A: Swift.Sequence {
    struct Iterator {
        var iterator: A.Iterator
        var element: A.Element?
        let transform: (A.Element, A.Element) -> A.Element

        init(iterator: A.Iterator, transform: @escaping (A.Element, A.Element) -> A.Element)

        func next() -> A.Element?
    }
    let base: A
    let transform: (A.Element, A.Element) -> A.Element

    init(base: A, transform: @escaping (A.Element, A.Element) -> A.Element)

    func makeIterator() -> AlgorithmsInternal.InclusiveReductionsSequence<A>.Iterator
}