4.17 Sequences and Streams🔗ℹ

Sequences and streams abstract over iteration of elements in a collection. Sequences allow iteration with for macros or with sequence operations such as sequence-map. Streams are functional sequences that can be used either in a generic way or a stream-specific way. Generators are closely related stateful objects that can be converted to a sequence and vice-versa.

    4.17.1 Sequences

      4.17.1.1 Sequence Predicate and Constructors

      4.17.1.2 Sequence Conversion

      4.17.1.3 Additional Sequence Operations

        4.17.1.3.1 Additional Sequence Constructors and Functions

    4.17.2 Streams

    4.17.3 Generators