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: Jay Foad
Subject: Re: [Bug-apl] Revisiting the APL 2 empty-array display behavior
Date: Thu, 29 May 2014 15:44:44 +0100

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]