Lazily iterates the given range and calls the given callable for each element.
a range containing the result of each call to callable
enum a = [1, 2, 3, 4].staticArray; enum expected = [2, 4, 6, 8].staticArray; enum result = a[].map!(e => e * 2); static assert(result.equal(expected[]));
See Implementation
Lazily iterates the given range and calls the given callable for each element.