[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Declaring Lisp function types
From: |
Andrea Corallo |
Subject: |
Re: Declaring Lisp function types |
Date: |
Fri, 15 Mar 2024 12:49:15 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
I'd like to progress on this but in order to do that we should pick a
syntax.
Of the three most discussed syntaxes in this thread my order of
preference is (by examples):
1:
(defun sum (a b)
(declare (function (integer integer) integer))
(+ a b))
2:
(defun sum (a b)
(declare (type (function (integer integer) integer)))
(+ a b))
3:
(defun sum (a b)
(declare (type (integer integer) integer))
(+ a b))
For the reasons I've already expressed: 1 I like it, 2 I'm okay with it,
3 I very much dislike it.
Maintainers WDYT?
Thanks
Andrea
- Re: Declaring Lisp function types,
Andrea Corallo <=
- Re: Declaring Lisp function types, Tomas Hlavaty, 2024/03/15
- Re: Declaring Lisp function types, Eli Zaretskii, 2024/03/15
- Re: Declaring Lisp function types, Tomas Hlavaty, 2024/03/16
- Re: Declaring Lisp function types, Eli Zaretskii, 2024/03/16
- Re: Declaring Lisp function types, Tomas Hlavaty, 2024/03/16
- Re: Declaring Lisp function types, Eli Zaretskii, 2024/03/16
- Re: Declaring Lisp function types, Emanuel Berg, 2024/03/16
- Re: Declaring Lisp function types, Lele Gaifax, 2024/03/18
- Re: Declaring Lisp function types, Emanuel Berg, 2024/03/16
Re: Declaring Lisp function types, Adam Porter, 2024/03/15