[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #'quoting functions when they are used as identifiers
From: |
Jonas Bernoulli |
Subject: |
Re: #'quoting functions when they are used as identifiers |
Date: |
Tue, 29 Mar 2022 20:26:02 +0200 |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I was wondering whether it is wrong per se to function-quote a
>> function-bound symbol if it serves as an argument to a function that
>> does not actually call the argument as a function but for which it
>> would never-the-less be a bug to be passed a symbol that isn't bound
>> as a function.
>
> 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"
Makes sense, thanks.
Jonas "who has enough places left where #'should definitely be added"