bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] This looks wrong


From: Elias Mårtenson
Subject: Re: [Bug-apl] This looks wrong
Date: Thu, 7 Aug 2014 16:55:35 +0800

No, you definitely understand. It's me that don't understand. :-)

Regards,
Elias


On 7 August 2014 16:52, Jay Foad <address@hidden> wrote:
> So the only benefit of the GNU APL approach is that it
> allows the definition of niladic functions by assigning from a lambda.

I don't understand. You can't use assignment to name a niladic lambda
in GNU APL, because it will be evaluated before the assignment
happens:

      f←{1⊣⎕←2}
2
      f
1
      ⎕NC'f' ⍝ it's an array, not a function
2

Jay.


reply via email to

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