tanya.algorithm.iteration

Iteration algorithms.

These algorithms wrap other ranges and modify the way, how the original range is iterated, or the order in which its elements are accessed.

All algorithms in this module are lazy, they request the next element of the original range on demand.

Members

Functions

singleton
auto singleton(E element)

Creates a bidirectional and random-access range with the single element element.

Templates

foldr
template foldr(F...)

Accumulates all elements of a range using a function.

Meta