Thread overview
[Issue 5636] Array ops use lexicographic comparison instead of vector-style element-wise
May 22, 2018
Dmitry Olshansky
Dec 17, 2022
Iain Buclaw
Jul 05
Dlang Bot
Jul 10
Dlang Bot
May 22, 2018
https://issues.dlang.org/show_bug.cgi?id=5636

Dmitry Olshansky <dmitry.olsh@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh@gmail.com
            Summary|Array ops broken for        |Array ops use lexicographic
                   |comparisons                 |comparison instead of
                   |                            |vector-style element-wise

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=5636

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4

--
July 05
https://issues.dlang.org/show_bug.cgi?id=5636

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org

--- Comment #6 from Nick Treleaven <nick@geany.org> ---
The digitalmars.com links are not working ATM.

But because `a[] < b[]` has a defined meaning as an expression in itself, the
vector op is ambiguous if allowed. So instead the docs* should clearly define
this. To make this work, we need unique syntax for vector ops - see the end of
this comment:
https://issues.dlang.org/show_bug.cgi?id=6345#c5

* PR incoming.

--
July 05
https://issues.dlang.org/show_bug.cgi?id=5636

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ntrel created dlang/dlang.org pull request #3654 "[spec/arrays] Improve vector operations docs" fixing this issue:

- [spec/arrays] Improve vector operations docs

  Change title to Vector Operations, array operations is not precise enough
  IMO and hard to google for.
  Define which operations are supported.
  Rewrite example & make runnable.
  Add note warning about invalid expressions for vector op.

  Fixes Issue 5636 - Array ops use lexicographic comparison instead of
  vector-style element-wise.

https://github.com/dlang/dlang.org/pull/3654

--
July 10
https://issues.dlang.org/show_bug.cgi?id=5636

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dlang.org pull request #3654 "[spec/arrays] Improve vector operations docs" was merged into master:

- 53199ba50e78879f72401489bbbd38314768ed5e by Nick Treleaven:
  [spec/arrays] Improve vector operations docs

  Change title to Vector Operations, array operations is not precise enough
  IMO and hard to google for.
  Define which operations are supported.
  Rewrite example & make runnable.
  Add note warning about invalid expressions for vector op.

  Fixes Issue 5636 - Array ops use lexicographic comparison instead of
  vector-style element-wise.

https://github.com/dlang/dlang.org/pull/3654

--
July 17
https://issues.dlang.org/show_bug.cgi?id=5636

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|dmd                         |dlang.org

--