emacs-devel
[Top][All Lists]
Advanced

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

Re: Distinguishing `consp` and `functionp`


From: Eli Zaretskii
Subject: Re: Distinguishing `consp` and `functionp`
Date: Mon, 29 Jan 2024 17:46:11 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: emacs-devel@gnu.org
> Date: Mon, 29 Jan 2024 10:41:37 -0500
> 
> > And the reason(s) you are "annoyed at the use of lists to represent
> > function values" are?...  IOW, what will we gain by using your changes
> > in this matter?
> 
> Beside taste and philosophical differences, the main motivation is to
> make `consp` and `functionp` mutually exclusive so as to eliminate the
> risk that a list be considered mistakenly as a function or vice versa.

Is that a serious risk?  In what situations could that happen?



reply via email to

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