[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: #'quoting functions when they are used as identifie
From: |
Drew Adams |
Subject: |
RE: [External] : Re: #'quoting functions when they are used as identifiers |
Date: |
Mon, 28 Mar 2022 15:22:53 +0000 |
> I think using #' only makes sense at those places where a (lambda ...)
> could also be used.
> Stefan "not completely sure he always follows that rule in practice"
And probably only where a (lambda...) is used by
another function (e.g. as an arg, as return value,
or with funcall/apply/eval). E.g., not here:
((lambda () (deprecated-but-still-around)) 42)
Another way to look at (in part): #' isn't
appropriate where the thing to be manipulated/used
is the function _symbol_ itself. E.g.:
(put 'forward-char 'answer 42)