Iterable<T> mapIndexed<T>(T Function(int index, E e) f) { var index = 0; return map((e) => f(index++, e)); }