- Code: Select all
∇ ret←Σ x
[1] ret←+/x
∇
Now one has the keyboard entry issue. OK, maybe not so good an idea, even a silly idea. Just thinking out loud!
How about easy to enter characters such as ⍺ and ⍵, used in Function definition? ⍺ referring to the right argument, and ⍵ to the left? Or just add them to valid APL function and variable characters?
- Code: Select all
∇ ret←Sum ⍺
[1] ret←+/⍺
∇