Re:Suggestivity and Idioms in APL
by abrudz on Tuesday May 09, 2023 @03:14AM
(#35871122)
As for the semantics, here are the equivalent JS functions:
Now, if I, E, and C were prefix/infix JS operators, with x being the left argument (if any) and y being the right argument, we'd write:
All APL operators have long right scope, so we don't need to parenthesise right arguments:
Alternatively, you can see the infix operators as being methods of all types:
Now we remove all the .() noise:
Wasn't that hard, was it?
[ Parent
| on HN ]
There are no comments on this comment yet.