|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] Multiline D-functions |
Date: | Fri, 16 Jan 2015 15:14:16 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Hi Martin, correct. As chapter 2.11 of apl.info says: "GNU APL supports direct functions (aka. lambdas), but only in a rather limited form." One of several reasons for that is that the ISO standard describes the operation of the APL interpreter as being line-by line. You can also not have, for example, a statement spanning several lines. /// Jürgen On 01/16/2015 11:58 AM, Martin Dybdal
wrote:
Hey I just started to use GNU APL. It seems that D-functions are not allowed in Dfns? I get a syntax error on something simple like foo ← { 42 } As far as I understand the concept of Dfns comes from Dyalog, and here they are allowed to span multiple lines. |
[Prev in Thread] | Current Thread | [Next in Thread] |