Hi Colin,
interesting. If I remember correctly then some older interpreters
tried to implement special
properties (such as constructors to pretend support for object
orientation) by means of
special labels in defined functions.
This idea
I have a copy of the first edition APL2 LRM from 1982. It specifies two
special System Labels: ⎕FL and ⎕ID. ⎕FL: was used to label the fill
function so that the programmer could specify precisely what the fill
function should be within the scope of the function definition. Similarly,
⎕ID was used t
On Mon, May 04, 2020 at 10:43:25AM +0100, Jay Foad wrote:
Interesting. Dyalog APL is different: if you apply f¨ to empty
argument(s), it applies f once to the prototypical items of the
argument(s) to determine the prototypical item of the result.
Yes, I liked the idea until I realized this incl
On Sun, 3 May 2020 at 12:16, Kacper Gutowski wrote:
>
> On Sat, May 02, 2020 at 08:13:17PM -0400, Colin Verrilli wrote:
> >This next one I'm not sure about. Theoretically, it should give the
> >same result as above, but maybe the behavior is different for defined
> >functions.
> > ↑ (0↑(1 2)(
Thanks Jurgen and Kacpur for the explanation. Makes sense.
Also thanks to Jurgen for the fix.
Colin
On Sun, May 3, 2020 at 10:18 AM Dr. Jürgen Sauermann <
mail@jürgen-sauermann.de> wrote:
> Hi Colin,
>
> thanks, see below...
>
> Best Regards,
> Jürgen
>
> On 5/3/20 2:13 AM, Colin Verrilli wrote:
Hi Colin,
thanks, see below...
Best Regards,
Jürgen
On 5/3/20 2:13 AM, Colin Verrilli
wrote:
I was playing around with using empty arguments with
functions to see what happens.
This one seems to make se
On Sat, May 02, 2020 at 08:13:17PM -0400, Colin Verrilli wrote:
This next one I'm not sure about. Theoretically, it should give the
same result as above, but maybe the behavior is different for defined
functions.
↑ (0↑(1 2)(3 4))f¨(0↑(1 2 3)(4 5 6))
0 0 0
⎕cr 'f'
z←l f r
z←l,r
The AP