bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Revisiting the APL 2 empty-array display behavior


From: Juergen Sauermann
Subject: Re: [Bug-apl] Revisiting the APL 2 empty-array display behavior
Date: Sat, 31 May 2014 15:53:41 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Jay,

as the GNU APL info manual says:

GNU APL supports direct functions (aka. lambdas), but only in a rather
limited form.

No plan to change this.

/// Jürgen


On 05/29/2014 04:44 PM, Jay Foad wrote:
On 29 May 2014 15:28, Juergen Sauermann <address@hidden> wrote:
The method for discarding a value Z seems to be 0 0⍴Z instead
of 0⍴Z these days. A smarter one could be monadic ⍪ ("table")
which turns an empty vector into an empty matrix (as does 0 0⍴).

In Dyalog APL you can also use an empty dfn, {}Z, but this doesn't currently work in GNU APL:

      {}Z
VALUE ERROR
      λ1 Z
      ^

Jay.


reply via email to

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