This object provides a set of operations to createIterable values.
Produces a collection containing the results of some element computation a number of times.
Produces a collection containing the results of some element computation a number of times.
the element computation
the number of elements contained in the collection.
A collection that contains the results ofn evaluations ofelem.
Produces a collection containing repeated applications of a function to a start value.
Produces a collection containing repeated applications of a function to a start value.
the function that's repeatedly applied
the number of elements contained in the collection
the start value of the collection
a collection withlen values in the sequencestart, f(start), f(f(start)), ...
Produces a collection containing values of a given function over a range of integer values starting from 0.
Produces a collection containing values of a given function over a range of integer values starting from 0.
The function computing element values
The number of elements in the collection
A collection consisting of elementsf(0), ..., f(n -1)
Produces a collection that uses a functionf to produce elements of typeA and update an internal state of typeS.
Produces a collection that uses a functionf to produce elements of typeA and update an internal state of typeS.
Type of the elements
Type of the internal state
Computes the next element (or returnsNone to signal the end of the collection)
State initial value
a collection that produces elements usingf untilf returnsNone