[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another question about lambdas
From: |
tomas |
Subject: |
Re: Another question about lambdas |
Date: |
Sat, 10 Dec 2022 20:33:19 +0100 |
On Sat, Dec 10, 2022 at 06:23:38PM +0100, Michael Heerdegen wrote:
> Hello,
>
> My new question for today is:
>
> What's the result of the following expression - and why? Or maybe it is
> invalid?
>
> #+begin_src emacs-lisp
> (let* ((x 'l)
> (f (lambda () x))
> (x 'd))
> (funcall f))
> #+end_src
I had to look that up in the elisp manual, and I must admit
I didn't find it very clear, but ultimately it says what will
happen.
Scheme docs are typically clearer, by explaining (let* ...) in
terms of nested (let ...). Perhaps that should go into the
Elisp manual, what do people think?
Cheers
--
t
signature.asc
Description: PGP signature
- Another question about lambdas, Michael Heerdegen, 2022/12/10
- Re: Another question about lambdas,
tomas <=
- Re: Another question about lambdas, Emanuel Berg, 2022/12/10
- Re: Another question about lambdas, Arash Esbati, 2022/12/10
- Re: Another question about lambdas, Michael Heerdegen, 2022/12/10
- Re: Another question about lambdas, Michael Heerdegen, 2022/12/10
- Re: Another question about lambdas, tomas, 2022/12/11
- Re: Another question about lambdas, Michael Heerdegen, 2022/12/11
- Re: Another question about lambdas, tomas, 2022/12/12
- Re: Another question about lambdas, Michael Heerdegen, 2022/12/12