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 likefoo ← { 42 } As far as I understand the concept of Dfns comes from Dyalog, and here they are allowed to span multiple lines. |
- [Bug-apl] Multiline D-functions Martin Dybdal
- Re: [Bug-apl] Multiline D-functions Juergen Sauermann
- Re: [Bug-apl] Multiline D-functions Martin Dybdal