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

Vladimir Panteleev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Vladimir Panteleev <[email protected]> ---
Why the heck does abs even need to support static arrays or dynamic arrays at
all? Should other functions in std.math support arrays too, by that logic? E.g.
if abs, why not sin, log, sgn etc.? Just use std.algorithm.map + either
std.array.array or std.algorithm.copy, or heck even std.algorithm.each, to
apply any unary function over any array.

--

Reply via email to