bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Defining APL functions with [ ]


From: Elias Mårtenson
Subject: Re: [Bug-apl] Defining APL functions with [ ]
Date: Tue, 3 Jun 2014 10:39:08 +0800

As far as I understand, it's an extension that is unique to GNU APL.

Regards,
Elias


On 3 June 2014 10:37, Blake McBride <address@hidden> wrote:
Greetings,

APL-1 did not allow functions to be defined with [ and ] in the header.  I've seen it done in GNU APL as follows:

      ∇fun[⎕]∇
    ∇
[0]   fun[x]y
[1]   x
[2]   y
    ∇

      fun[4]55
4
55

I understand what is going on, but I was looking for it in the APL-2 manuals.  I couldn't find it in any of the IBM manuals (and the spec is unreadable to me).  So, my question is, where in the IBM APL-2 Language Manual is it shown?  Any place else?

Thanks.

Blake



reply via email to

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