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: Jay Foad
Subject: Re: [Bug-apl] This looks wrong
Date: Thu, 7 Aug 2014 09:52:50 +0100

> 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]