Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

SequenceOf

pNre edited this page Jul 3, 2014 · 1 revision

Contents

SequenceOf

The following operations can be performed on sequences and are evaluated lazily. Each operation only takes the data it requires from the source sequence in order to return its result.

The Sequence protocol cannot be extended, hence the following are extensions to SequenceOf. They can be used as follows:

var source: Sequence = ...
var filteredSequence = SequenceOf(source).filter { ... }

Instance Methods

Clone this wiki locally