|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] Recursive Lambda |
Date: | Tue, 05 Jul 2016 20:07:05 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Hi Xtian, but a little too complex for my taste (note that fac 0 behaves differently though not unreasonably) : fac←{⍵×⍎((⍵>2)/'fac ⍵-'),'1'} fac 10 3628800 /// Jürgen On 07/05/2016 07:43 AM, Christian
Robert wrote:
I was under the impression that recursive controlled Lambda was near impossible to write. |
[Prev in Thread] | Current Thread | [Next in Thread] |