[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (function (lambda or not
From: |
Ikumi Keita |
Subject: |
Re: (function (lambda or not |
Date: |
Sat, 03 Sep 2022 16:27:09 +0900 |
Hi Uwe,
>>>>> Uwe Brauer <oub@mat.ucm.es> writes:
> So the question is, is the (function (lambda
> old syntax?
Basically, yes. I quote from info node "(elisp) Anonymous Functions":
,----
| The read syntax ‘#'’ is a short-hand for using ‘function’. The
| following forms are all equivalent:
|
| (lambda (x) (* x x))
| (function (lambda (x) (* x x)))
| #'(lambda (x) (* x x))
`----
Bye,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine