https://issues.dlang.org/show_bug.cgi?id=3561

--- Comment #7 from [email protected] ---
Precisely. D has enough machinery to be able to factor out the common logic of
applying a unary function over a static array, dynamic array, matrix, etc.,
there's no need to complicate the implementation of abs with something that
isn't even scalable in the long run (have to implement looping over array /
vector for every unary function in std.math, with possibility of bugs each
time, plus added maintenance costs).

--

Reply via email to