Sequence

E427891

Sequence is a fundamental Swift protocol that represents a series of values that can be iterated over one at a time.

All labels observed (1)

Label Occurrences
Sequence canonical 1

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf Swift protocol
conformedToBy Array (Swift type)
linked to: Array

Dictionary (Swift type)
linked to: Dictionary (Swift)

Range (Swift type)
Set (Swift type)
linked to: Set (Swift)

StrideThrough (Swift type)
StrideTo (Swift type)
String (Swift type)
UnsafeBufferPointer (Swift type)
defaultImplementationSource protocol extensions
definedInLanguage Swift
documentationURL https://developer.apple.com/documentation/swift/sequence
elementAccessPattern single-pass iteration
hasAssociatedType Element
Iterator
introducedInVersion Swift 1.0
iterationOrder defined by conforming type
iteratorMustConformTo IteratorProtocol (Swift protocol)
lazyVariant LazySequence
mayBe finite
infinite
module Swift Standard Library
mutabilityRequirement does not require value semantics
primaryCapability iteration over values
refinedBy AsyncSequence (Swift protocol)
Collection (Swift protocol)
represents series of values
requiresMethod makeIterator()
superProtocolOf BidirectionalCollection (Swift protocol)
Collection (Swift protocol)
RandomAccessCollection (Swift protocol)
SetAlgebra (via conforming types)
supportsOperation compactMap(_:) transformation
contains(_:) search
dropFirst(_:) slicing
dropLast(_:) slicing
filter(_:) selection
first(where:) search
flatMap(_:) flattening
for-in loop iteration
joined() concatenation (for sequences of sequences)
map(_:) transformation
prefix(_:) slicing
reduce(_:_:) accumulation
sorted() (when Element is Comparable)
suffix(_:) slicing

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.