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

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

Re: Calling a function with undefined symbol


From: tomas
Subject: Re: Calling a function with undefined symbol
Date: Tue, 8 Nov 2022 20:15:26 +0100

On Tue, Nov 08, 2022 at 04:52:38PM +0100, Michael Heerdegen wrote:
> Emanuel Berg <incal@dataswamp.org> writes:
> 
> > > In my objective point of view the canonical person for the
> > > task is...Emanuel Berg! (not kidding)
> >
> > Okay, I'll get right to it!
> 
> Good.  You may add
> 
> (d) What's the return value of evaluating the expression
> 
>   (funcall
>    (lambda (x) (funcall x x))
>    (lambda (x) (funcall x x)))

Now would that be more fun if Elisp did tail call optimization?

Let me try in Guile:

  scheme@(guile-user)> ((lambda (x) (x x)) (lambda (x) (x x)))

Yes, it is :)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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