From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: (declare (type (function... Date: Fri, 10 May 2024 10:04:38 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23642"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Marco Antoniotti , emacs-devel@gnu.org, Eli Zaretskii To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 10 16:05:44 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s5Qsa-0005tA-3x for ged-emacs-devel@m.gmane-mx.org; Fri, 10 May 2024 16:05:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5Qrn-0000pq-Aj; Fri, 10 May 2024 10:04:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5Qrl-0000pA-6A for emacs-devel@gnu.org; Fri, 10 May 2024 10:04:53 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5QrZ-0005xI-LT; Fri, 10 May 2024 10:04:52 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 6D200808BA; Fri, 10 May 2024 10:04:39 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1715349878; bh=L75lYo2SN64b/ZURbFdXT5dQzvEADY2NZr05kodxqY4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=gpA8+nKKHppVuLK+HYLrGinZA26pv43QU8Cb/wX6vsQCAlwmn2Jl/4/WixTbahvkS GNaiCxvy3b1x5YwWVH6V/X3d5hangr9ecisrH5/GISGc7oPvSE5Xdhte15XiGcyJWz VU3sjxXO/CQGz3/BYmvo2puIQrt58HrfjR4xpFdR6H1GMDUJI75ZO8WIacxwtHbvXk 985mQ3TdjlJWHhg7/xJs3VfHvFvnkaXjeFds8pNt0UusKgP0VxmJ0bpNBQ0N7TBo8C TBq5guF20u4HUm3wRzpNc+meDh24Oa8w+iplrCaI3DoMIVVGU6L36ScAHV0adGoRPt 61NKOIgLwlSiQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 8C2888036C; Fri, 10 May 2024 10:04:38 -0400 (EDT) Original-Received: from alfajor (unknown [10.35.239.240]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7B50A120399; Fri, 10 May 2024 10:04:38 -0400 (EDT) In-Reply-To: (Andrea Corallo's message of "Fri, 10 May 2024 06:21:21 -0400") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:319139 Archived-At: >> 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 =F0=9F=98=83 = 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