Instance Property

lazy

A sequence containing the same elements as this sequence, but on which some operations, such as map and filter, are implemented lazily.

Declaration

var lazy: LazySequence<IndexSet> { get }

See Also

Transforming Elements

func reduce<Result>(Result, (Result, Int) -> Result) -> Result

Returns the result of combining the elements of the sequence using the given closure.