From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Distinguishing `consp` and `functionp` Date: Mon, 29 Jan 2024 18:10:40 +0200 Message-ID: <861qa03ytb.fsf@gnu.org> References: <86msssble8.fsf@gnu.org> <86bk9448ai.fsf@gnu.org> <864jew40m3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29864"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 29 17:12:31 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 1rUUFK-0007YY-Te for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Jan 2024 17:12:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUUDc-0007vr-4L; Mon, 29 Jan 2024 11:10: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 1rUUDb-0007v7-Fo for emacs-devel@gnu.org; Mon, 29 Jan 2024 11:10:43 -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 1rUUDb-0002kE-6a; Mon, 29 Jan 2024 11:10:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=eA4B1P2paNIlm1QZlbCYcq8zKU6cFtRm3fwsjTkYfb0=; b=e1OCyFZMik79d0jKrSCa yLv9vdNYYRgUN3sbWSuOxhvLquH4G7PoPGiFSa1vG7t+reH+D/ay723pIKFoC4oBjeOGKpGtMRGxZ 4TeOut/FGZwAsGr9IK9X6AbQsMfZPza9Xryt+6tLP7QZ4u0bzIPl3RBjEurX+/tcF6oAI7InlGa6D S4/mJa4ef1Om2Zqy3oYizEBzWA9bYVncL8h5+Q5civ1EgBZyeBCsjSG8GkeX0497YXRM9UMTuft51 isWk/Fa+s+5fiFDycFXgUsSn8bfxTAsOnFokyIZLvJlhwROiLePsFokJUKi1SDWAkA34hNaEE8eFQ oS8R33lIcNbe7Q==; In-Reply-To: (message from =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= on Mon, 29 Jan 2024 15:54:04 +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:315598 Archived-At: > From: João Távora > Date: Mon, 29 Jan 2024 15:54:04 +0000 > Cc: Eli Zaretskii , emacs-devel@gnu.org > > I don't think there is much space for philosophy or debate in noting > for example, that a list as lambda won't get byte-compiled like a > true lambda form. > > (byte-compile '(let ((bla (lambda () (+ 42 42)))) > (funcall bla))) ;; -> (byte-code "\300\211 \207" [#[0 > "\300\207" [84] 1]] 2) > > > (byte-compile '(let ((bla '(lambda () (+ 42 42)))) > (funcall bla)));; -> (byte-code "\300 \207" [(lambda > nil (+ 42 42))] 1) I wonder why you considered that IU need this lecture. > Stefan's patch moves us in the right direction if just for the guidance > it gives to ignorant Lispers like the one who introduced that bug circa 2009. I'm glad we have your approval. What would we do without it?