[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (declare (type (function...
From: |
Andrea Corallo |
Subject: |
Re: (declare (type (function... |
Date: |
Fri, 10 May 2024 06:21:21 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Marco Antoniotti <marco.antoniotti@unimib.it> writes:
> Dear Andrea
>
> The point is NOT to diverge from Common Lisp. Such divergence is - IMHO -
> unwarranted. Plus, the proposal for the ftype
> declaration also carries over to type declarations, which, again, are useful
> per se, even if the compiler is "smart
> enough" (ok; this one is for old-timers :) )
>
> Having said that, a provision can be made that a nameless ftype declaration
> at a function top level refers to the
> "definenda" function. Again, having to use ftype instead of type is a
> consequence of ELisp being a 2-lisp.
Dear Marco,
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.
Eli Stefan WDYT?
Thanks
Andrea
- Re: (declare (type (function..., (continued)
- Re: (declare (type (function..., Andrea Corallo, 2024/05/07
- 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 <=
- Re: (declare (type (function..., Stefan Monnier, 2024/05/10
- 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