Import std.algorithm.map instead of std.range.map