with_index/2
with_index(enumerable, offset \\ 0)Creates a stream where each element in the enumerable will be wrapped in a tuple alongside its index.
If offset is given, we will index from the given offset instead of from zero.
with_index(enumerable, offset \\ 0)Creates a stream where each element in the enumerable will be wrapped in a tuple alongside its index.
If offset is given, we will index from the given offset instead of from zero.