Re: Empty arguments

2020-05-04 Thread Colin Verrilli
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

Re: Empty arguments

2020-05-04 Thread Kacper Gutowski
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

Re: Slow down, latest updates

2020-05-04 Thread Bill Heagy
Looks good, thank you. On 5/4/20 5:45 AM, Dr. Jürgen Sauermann wrote: Hi Bill, thanks a lot, that is very valuable information. I actually made that change trying to reduce the number of bogus -Wmaybe-uninitialized warnings. I am somewhat surprised that this has such a performance impact. In t

Re: Slow down, latest updates

2020-05-04 Thread Dr . Jürgen Sauermann
Hi Bill, thanks a lot, that is very valuable information. I actually made that change trying to reduce the number of bogus -Wmaybe-uninitialized warnings. I am somewhat surprised that this has such a performance impact. In the meantime I

Re: Empty arguments

2020-05-04 Thread Jay Foad
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)(