help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Lisp anime video


From: Emanuel Berg
Subject: Re: Lisp anime video
Date: Sun, 29 Aug 2021 12:57:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

tomas wrote:

>> ;; this file:
>> ;;   https://dataswamp.org/~incal/scheme/fac.scm
>> 
>> (define (fac n)
>>   (if (> n 1)
>>       (* n (fac (- n 1)))
>>     1) )
>> 
>> (fac 10) ; 3 628 800
>
> That looks for me like a pretty reasonable value for (fac
> 10). Actually, more reasonable that any other value?

Yes, but I wrote that. In the video they show another piece of
code which doesn't work in MIT/GNU Scheme what I can see.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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