News for hackers. Stuff that matters.
Re:Suggestivity and Idioms in APL by abrudz on Tuesday May 09, 2023 @01:33AM (#35870537)
The syntax is actually quite simple, but you may be confused by the unfamiliar symbols and lack of syntax. 0 1 is simply [0,1] in JSON and ⍵ is the argument name. The other symbols cirrespond to prefix and infix operators. Compare the following JS expression which is syntactically (but not semantically) equivalent to the APL expression below it:

    -[0,1]*0+w
    ⍸ 0 1 ⍷0,⍵

There are no comments on this comment yet.