|
From: | Louis de Forcrand |
Subject: | Re: [Bug-apl] Feature suggestion: multiple function arguments |
Date: | Sat, 5 Mar 2016 16:09:58 +0100 |
While talking about features to add, instead of introducing a new function header style, IMHO a new local assignment function would be more useful. For example, instead of typing ∇Z←X F Y;A;B;C to declare local variables, instead one would simply type ∇Z←X F Y and then assign variables A, B, and C using the local assignment arrow. This would apply to the previously discussed header as: ∇multi a (a1 a2 a3)⍅a … I understand this won’t happen, as it would probably require major reworking of function definition, not to mention the lack of a suitable symbol (although the one I used is an arrow overstruck by a stile, which in fact is already called APL FUNCTIONAL SYMBOL … in unicode). This isn’t very important, although it would eliminate huge function headers if many variables are used. Louis
|
[Prev in Thread] | Current Thread | [Next in Thread] |