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:50 +0200 Message-ID: <86zfwo2k8l.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="29854"; 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-0007YH-MK for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Jan 2024 17:12:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUUDm-00080V-20; Mon, 29 Jan 2024 11:10:54 -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 1rUUDk-0007zv-J4 for emacs-devel@gnu.org; Mon, 29 Jan 2024 11:10:52 -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 1rUUDk-0002og-9q; Mon, 29 Jan 2024 11:10:52 -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=oAHcGqHF8dbORNh3FLKI17H6jtPgF0DYSHWKO5tuCio=; b=HrcROHcizDGxKf5D6qS9 YjETMnRI/KVkDN3UOXVW2oclfkF9R5QsUwlUB/jHwk9AZxpn5XYpipCKo8a8GTxd3cGiYJHYRWemK AO7KAHn91imb0hILe16ctV6No+hIfffeK4jsWF/EWBYoUGtbdN9uB/NXS71aSmQx3Ig3f29EPSLSe T5oeZ1ZUq8r7eBqedduJ7Pn7abzJqlXmPenjFBvcnH725syy/F9S27q3RtMBiStwzp6+i8xK9hRtj 9MN5LYuJvqPcL5ueQAzS2C6hK5hfIgnChDLXx/O3XGsVCNNGnJUMZjo0J6xvdHWCDQsogwuns7kRP eYnCelcYRpohmw==; 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:315597 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 I 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?