D-Programming-Language/phobos — pull request #676 by monarchdodra (2012-07-09 10:21:03+00:00)
Title: Missing op's in std.algorithm.map

There was opSlice(/*no argument*/) missing from the list of operators, making this code not compile:

void main()
{
auto vals = [1, 2, 3, 4, 5];
auto squares = map!("a * a")(vals[]);
writeln(squares[]); //Here: squares []
}

Also, added support for multidimensional opDollar, for writing things such as:
writeln(squares[$-2 .. $])
Which did not work.