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

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

Re: Lisp anime video


From: tomas
Subject: Re: Lisp anime video
Date: Sun, 29 Aug 2021 12:00:45 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Aug 29, 2021 at 10:11:30AM +0200, Emanuel Berg via Users list for the 
GNU Emacs text editor wrote:
> tomas wrote:
> 
> >> Is there really a "cudder"?
> >
> > That's a cuter name for `cdr'
> 
> Let me guess, a cuter name for `cddr' is cuddder?
> 
> But anyway, the source still doesn't work.

What do you mean by "doesn't work"? You're by now for long in
the business to know that "doesn't work" doesn't work :)

> You can do it like this tho
> 
> ;; 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?

Cheers
 - t

Attachment: signature.asc
Description: Digital signature


reply via email to

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