emacs-devel
[Top][All Lists]
Advanced

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

Re: (declare (type (function...


From: Stefan Monnier
Subject: Re: (declare (type (function...
Date: Fri, 10 May 2024 10:04:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

>> The point is NOT to diverge from Common Lisp.  Such divergence is -
>> IMHO - unwarranted.

CL is a good inspiration in general, but ELisp is not and never will be
Common-Lisp, so it's not indispensable to adhere to its choices.
I think its provision of type annotation is not great, so there isn't
a strong need to follow it.

> I see your point and share the intent, given your provision 😃 for
>
> (defun foo (x y)
>    (declare (ftype (function (integer number) number)))
>    (+ x y))
>
> I'm personally okay with the change.

No objection here either.


        Stefan




reply via email to

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