[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
- Re: (declare (type (function..., (continued)
- Re: (declare (type (function..., Emanuel Berg, 2024/05/08
- Re: (declare (type (function..., Emanuel Berg, 2024/05/08
- Re: (declare (type (function..., Marco Antoniotti, 2024/05/08
- Re: (declare (type (function..., Andrea Corallo, 2024/05/10
- Re: (declare (type (function..., Marco Antoniotti, 2024/05/10
- Re: (declare (type (function..., Andrea Corallo, 2024/05/10
- Re: (declare (type (function...,
Stefan Monnier <=
- Re: (declare (type (function..., Marco Antoniotti, 2024/05/10
- Re: (declare (type (function..., Marco Antoniotti, 2024/05/10
- Re: (declare (type (function..., Eli Zaretskii, 2024/05/11
- Re: (declare (type (function..., Andrea Corallo, 2024/05/13
- Re: (declare (type (function..., Andrea Corallo, 2024/05/14
- Re: (declare (type (function..., Marco Antoniotti, 2024/05/14