From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Simon Leinen Newsgroups: gmane.emacs.devel Subject: Re: (declare (type (function... Date: Thu, 9 May 2024 15:19:37 +0200 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="6853"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Marco Antoniotti Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 09 15:21:01 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 1s53hj-0001Ub-HV for ged-emacs-devel@m.gmane-mx.org; Thu, 09 May 2024 15:20:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s53gi-00005l-AA; Thu, 09 May 2024 09:19:56 -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 1s53gf-00005N-1a for emacs-devel@gnu.org; Thu, 09 May 2024 09:19:53 -0400 Original-Received: from mail-yw1-x112b.google.com ([2607:f8b0:4864:20::112b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s53gd-0005mQ-F1 for emacs-devel@gnu.org; Thu, 09 May 2024 09:19:52 -0400 Original-Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-62026f59233so6539087b3.1 for ; Thu, 09 May 2024 06:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715260790; x=1715865590; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zdavuQ+HyMttKpvB3FCjlaE11ma36ccm6V3SSAIekco=; b=alnJ2tyMaiCGMDPHufuDy9pO+vywS/qFMYQ1fvKz8IXenPaO9qdbZhGK+nlfzRFAx5 ahLNVLPa79m2ssr+NK0esmy0evKuLPBifDvFpE2ZkTS34syhgp0Hqb0QSETfoJDO1/a+ //PPFTrdtys5bolErph8rvEB9xgBtDllV9Zjzt1TDkPbUC4+wjDdCkCKdsjjSNRGnrKg kYf6NaSs554De0Lkhu1dqfkfvES1V9G1cJ5zswzGYr3aWtNOXMtwyf6nf3kBqEGfxbVE n7M8g2/ew4UvwO46PR5OlHC9qlR7Y+0taYkkj40CsLfJP2/wjzG9T3hunEbv/Nin4ErJ kW9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715260790; x=1715865590; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zdavuQ+HyMttKpvB3FCjlaE11ma36ccm6V3SSAIekco=; b=GUqkNDmIrocEyRwBfcczx+YvhNQ+AdBihxczSwbYUz0OJa+RSLXEOx+aysI5zQFdWT 6LrLQedBy0nvYzDuuvllDbyX0T7dBOjh13ESa+jNV2bZ6j7xmJ9WkLUau721P1HIGL86 jYgdf4DmAZc8UKMvxBM9IyASvHpdoK9amajaH2CXHivwE4WEOH2DCVs1cWnHd4HGeBZk 15J628+YDPhWV8RkLUNn42zIpYwHEIwdW1h86QSzIJp6syU60qVKCn4pGHLn7AXHQiWi /VyjcjkY4wKeifPcBQcLpjADLSr6Z5tNUor763zJGupsOVzQk4jvLDERU9913Mn/SRU6 OY6g== X-Gm-Message-State: AOJu0YxMDaAcfFWMIOEwakXp359JMZYxDaaa0DxqZ0rk5a7+wi5Wxxmh xUWBc4l3Yw+CduLZMMKX9jJ9wzce1pjqgbSU6pgFpnRV56RzfZTM00uGto8ATA4Wk6C+ETAqmIN xCkgXyuswaWJBFwDAzajS/Fr+CbE= X-Google-Smtp-Source: AGHT+IG1wMt/05Zh+w7YITwRtwN3YzSZTDpfiIw/GwRqXBCygYbyC9qPBbPNkHNZFLU4kPAhKJUVMPP5/u5QxxyiOLI= X-Received: by 2002:a0d:db05:0:b0:61a:e979:427e with SMTP id 00721157ae682-6209939b53amr20864037b3.11.1715260789379; Thu, 09 May 2024 06:19:49 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::112b; envelope-from=simon.leinen@gmail.com; helo=mail-yw1-x112b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:319073 Archived-At: On Wed, May 8, 2024 at 1:41=E2=80=AFPM Marco Antoniotti wrote: > Having said so, I now think that, to save goat and cabbage, what you want= is > > (defun foo (x y) > (declare (ftype (function (integer number) number) foo)) > (+ x y)) > > Common lispers can live with that. Yes, please :-) (When I programmed in Common Lisp, I used (declaim (ftype ...) ...) all the time.) Cheers, --=20 Simon.