diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-08-22 18:05:42 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-08-23 16:42:28 -0400 |
| commit | 2aef02836ee0aa1f778f68d139d07b42be02d93e (patch) | |
| tree | 7253d55c8f8e0d04178bd02650c50f953ee7bdc4 /problems.md | |
| parent | 33bf9bf9b2408133241f9a1362d400fd5798773d (diff) | |
Note โโรท versus | argument order confusion
Diffstat (limited to 'problems.md')
| -rw-r--r-- | problems.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/problems.md b/problems.md index 5bd7aa90..34f7de67 100644 --- a/problems.md +++ b/problems.md @@ -34,7 +34,7 @@ If you include multiple multi-line functions in what would otherwise be a one-li This includes index-of-last, and searching starting at a particular index, when the desired result indices are to the array to be seached *before* it is modified. Given indices `i` into an array `๐จ` (for example `โฝโโ ๐จ` or `a+โb`), this section can be searched with `(iโพโ ๐จ)โห(iโ๐จ)โ๐ฉ`. But this is clunky and difficult for the implementation to optimize. ### Subtraction, division, and span are backwards -The left argument feels much more like the primary one in these cases (indeed, this matches the typical left-to-right ordering of binary operators in mathematics). Not really fixable; too much precedent. +The left argument feels much more like the primary one in these cases (indeed, this matches the typical left-to-right ordering of binary operators in mathematics). The commonly-paired `โโรท` and `|` have opposite orders for this reason. Not really fixable; too much precedent. ### Nothing (`ยท`) interacts strangely with Before and After Since `๐จFโธG๐ฉ` is `(F๐จ)G๐ฉ` and `๐จFโG๐ฉ` is `๐จF G๐ฉ` in the dyadic case, we might expect these to devolve to `G๐ฉ` and `F G๐ฉ` when `๐จ` is not present. Not so: instead `๐ฉ` is substituted for the missing `๐จ`. And Before and After are also the main places where a programmer might try to use `๐จ` as an operand, which doesn't work either (the right way is the train `๐จFโข`). |
