map

Undocumented in source. Be warned that the author may not have intended to support it.
map
(
alias Mapper
RangeT
)
(
RangeT range
)

Examples

import libd.data.conv, libd.algorithm;

Array!int nums;
nums.put(1, 2, 3);

String[3] expected = [String("1"), String("2"), String("3")];
auto range = nums.range.map!(n => n.to!String);
assert(range.equals!((a,b) => a == b)(expected[0..$]));

Meta