From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Declaring Lisp function types Date: Mon, 26 Feb 2024 11:25:40 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11163"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 26 17:27:00 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 1redog-0002dK-LG for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Feb 2024 17:26:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rednU-0005fD-Gn; Mon, 26 Feb 2024 11:25:44 -0500 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 1rednS-0005RL-5D for emacs-devel@gnu.org; Mon, 26 Feb 2024 11:25:42 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rednR-0001jo-7I; Mon, 26 Feb 2024 11:25:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=My/A8zb7U8Rtt54FVUn4wNZwTnOMbF9PjXgjAv2CmDo=; b=EvpaXLsDQpjZIGGIypoL 9+OWMoadS91Hh8qDePGZIbj+k/QJJSrXYYJG8iulSWSr+H3C4Jqz6pHvHvjfmv06bjLTMVuTugBoQ EL2ks4vNE8mDe0bvXvfhmW2Tnd6IO1TgSnFII3gRw83NbEOQKF6wWssQ3KnhcjrU2o9vDllyUcs3T gJ7nUwRIuqMABuoywKiQcXTPBX6EkXDLtVIaqnuArme4a8zZOlEAxwCt3G9xAWbRAL06i6Go+y+9p P+0diUy1urtU90Q2eyO2iDncwYc2dVFiyxPlsIuZ8DpXfnWO+33Afn6h/CTkUHjeDTvxhaIVGvGGp /x46chHE/sG+LA==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rednQ-00027e-GP; Mon, 26 Feb 2024 11:25:40 -0500 In-Reply-To: (Alan Mackenzie's message of "Sun, 25 Feb 2024 17:04:30 +0000") 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:316566 Archived-At: Alan Mackenzie writes: > Hello, Andrea. > > On Fri, Feb 23, 2024 at 11:02:52 -0500, Andrea Corallo wrote: >> Hi all, > >> I'm looking into moving out the function type declarations in >> 'comp-known-type-specifiers' in order to move them to where the function >> are actually defined. This to easy maintenance (ATM they get out of >> sync) and to allow the user for (indeed optionally) declaring function >> types. > >> In principle I believe we are interested in expressing the the argument >> types and (maybe optionally) the return type. > > What's missing is the why. Do we actually want to put function type > declarations in Lisp source at all? They will clutter up the code more > than it is cluttered up at the moment. Hi Alan, just to confirm that I think the explainations you've got form Eli and Drew are I think a good summary. Thanks Andrea