|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] This looks wrong |
Date: | Wed, 06 Aug 2014 17:15:33 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 |
Hi Elias,
I am a friend of orthogonality and symmetry. And I like David's "principle of least surprises". In GNU APL lambdas behave like (and in fact are) defined functions. If we would dis-allow niladic lambdas, then by the same token, we should dis-allow niladic defined functions (and probably niladic system functions as well?). I am afraid some users may complain then. You cannot pass niladic lambdas to operators and you cannot pass niladic functions to operators either. Fair enough - just make them monadic. I would do that with suffix ⊣⍵ rather than with prefix ⍺⊢. But the fact that you cannot use niladic lambdas for one purpose does not make them useless for other purposes. Therefore I believe we should leave matters as they are. /// Jürgen On 08/06/2014 03:15 PM, Elias Mårtenson wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |