bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Feature suggestion: multiple function arguments


From: Alexey Veretennikov
Subject: [Bug-apl] Feature suggestion: multiple function arguments
Date: Thu, 03 Mar 2016 23:17:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (darwin)

Hi,

In GNU APL in order to supply several (>2) arguments to the function I
have to write something like this:

∇multi a;a1;a2;a3
a1←a[1]
a2←a[2]
a3←a[3]
⍕a1
⍕a2
⍕a3

In Dyalog APL I can just write
∇multi(a1 a2 a3)
⍕a1
⍕a2
⍕a3

The same syntax in GNU APL lead to an errer in function header. Can we
have the same syntax as in the Dyalog APL since it looks like it will not break 
any compatibility?


-- 
Br,
/Alexey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]