[Issue 13546] std.functional.not for arrays too

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Sep 5 12:09:21 UTC 2017


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
This seems like a corner case for arrays. Its implementation would lead to more
problems than cases where things get simplified.

If you want to work with boolean arrays you could either use the solution in
the bug report or you could always use BitArrays. Also there is the problem of
where should the function `not` be located after this change, because all the
functions in std.functional work solely with functions.

In my opinion, this should be closed as WONTFIX.

--


More information about the Digitalmars-d-bugs mailing list