From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Instead of pcase Date: Tue, 21 Nov 2023 12:04:11 +0800 Message-ID: <87edgjiwg4.fsf@yahoo.com> References: <87fs15kkk1.fsf@yahoo.com> <874jhi3qx3.fsf@web.de> <21eda04f-b974-0c56-ce6c-4fc0810e4e13@gutov.dev> <87msv7j2o5.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39845"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Michael Heerdegen , Jim Porter , rms@gnu.org, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 21 05:05:14 2023 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 1r5I0g-000AAF-M7 for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Nov 2023 05:05:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5I01-0006wj-Hr; Mon, 20 Nov 2023 23:04:34 -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 1r5Hzx-0006wL-Mw for emacs-devel@gnu.org; Mon, 20 Nov 2023 23:04:30 -0500 Original-Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r5Hzv-00031v-BW for emacs-devel@gnu.org; Mon, 20 Nov 2023 23:04:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1700539464; bh=oP8zMwRYa+zWM962KowUQeEjy7E+2sQJIN9VLJalBDQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=TCJqH82WemXH0psLDicVizQ5teVryaGIjloUPtza/DRJuCT3O/MeMEtj/4Ut3K11/8omQujHx0puVfbR3C9GeO14UZ2u+ON6x2xcJxdA0HdBwzOjjtcXJsQeLx90fSMhf37JyMHa9TGnJlRUqFTWQK/DyUPBk3rVkKOKMV8RmR0vu6yrs1nTiRneNcZbndXA2suJI2G8dZX24WjxDtV3mx/elj5VTe5dSU7YyvA8D4MED/OUp1Pi7mGzTlWIW+fB5jd40j+OShLQ0EK+zRAMths3OTCjnLbEU6van4qF1F8a/Xqq0jVEMtodBpBk6nJsn6QLnsNaxUW5mQzfUhjrPA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1700539464; bh=G//mKjC1+LhRG+h7m7XxCD9rW4rNsXLORcshc9xPr/e=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=a860z/DUTu8XBrWuswbXWrHC858eGhVjxsljVAmd2D3vqw3AUBeKr/rNk1vpLXz3/kp19ktSTwOCbuiPzcnNHDIeRba+dLO16a9AQcan/ykTznPloPQXvvSZTFk8mtSXuOjhvFco+f/YnRnrWzFjOkBZ4J0DbgnSWVsg13hYuBe6mtZeMlrbcdWIgouBDS1sJBIQIStSH/nMKZbeEaCylcwXvNnXRx24A8Zo9JeqXVVsSvGtTBKPLEhQR7kAvaPeJX1C/u5w5QQZ21o2K4e4ncubyljWRRxa8b0zvuQ5/gQ0Gm9NU2zILKfGzNitJY7mRVj440UMkUA9rKlhADg/Jw== X-YMail-OSG: Vwj3MV8VM1ncuCXaZPKREfMnDbWKOo4Gmh.cMFm4syd4sagOLHwMx3cAXKReX8F DMmZLihK.fy1jGxaI6pth_WZ1OgTfs.IdZnRIAXlyuAarTgdKL42TSnghM4Ui2jqkPhF3e_KmSj8 p5iGmjML8gH_CWwF2HvQnukvteGrFTWxJQ8CSkVRqXOwEGUHzmb9ddpYdGDLsBci6o4XRw1N.2AN xcmFxLN989Jnn.gCnM_h6IMhd1Dod_mjDdKkNL7_nMQyCELzxXNCmAwquXqtqUCBlzNejnmN4Ufh dbjIXqr4LODKBa2Wknt.RS.AU8uteRAQxw4MjySjcCMCXRAZq8anCYi4HW64dmX5vY3OB9ibpE98 v64K1rU_JEa9GxPieC.fWKBuzProqjn61tOFMIDSBZvG8n4ItmWXLU8tslDJ6otmcWzhXAScr.M2 oJLh4bNFY0KmfRjM4JUAXMnZKhi6qqQa6Va1em16.aK8jEpahSJ1frWrzq.4YQHABktpFCMjbz7v dDWNgIxqslrdTMgdrFJrUEEoNAb7p1AiG.2ZXXmvIpRFvmJ_dQn4vTu7R2KME0ZFTr6ch2RCvzx1 hoSzV2dYoAvJ.lJWXSzUWinUsNx4FpC_CI1KizX5aH0tHreOxbzNYR9Si30O74Z9oNcCpQcIbFu3 DVLlg3lvXMIV9pUd0hX.IAaluLBLZxTejbfNpB6IlS538ua9Ll_w.9hDeSt4IH4xhWv2brMaU7j9 d1z8sWv1_p_oj8PSOhs4jrjG9S1I9c8HAKUl3dIqqnNNq2SfLrXncT4dp0zq0xHHJUNJVKWAjU4T 1qJ2eDyA2PpaaSayKxENAi7LPJivfhNHX2Vb5e1Dyv X-Sonic-MF: X-Sonic-ID: a265e3a3-5f22-4ee9-a26b-15acd7a26cd6 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Tue, 21 Nov 2023 04:04:24 +0000 Original-Received: by hermes--production-sg3-599557b48c-r9w6b (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2457109aa3c9b691c56d02a110ef0bfd; Tue, 21 Nov 2023 04:04:16 +0000 (UTC) In-Reply-To: (Dmitry Gutov's message of "Tue, 21 Nov 2023 03:59:57 +0200") X-Mailer: WebService/1.1.21896 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.199; envelope-from=luangruo@yahoo.com; helo=sonic301-30.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:313089 Archived-At: Dmitry Gutov writes: > That's not accurate: its purpose is a high-level one. Even though it > can be used as a replacement for 'cond' in simple case too. Destructuring variable binding is not a high-level use case. As Richard mentioned, such a definition is subject to the amount of Lisp there is possibly a role for it in. And needless to say, this amount is significant in the case of pcase, and is small in that of quail. >> But don't argue that this cost does not exist, simply because it >> doesn't feel like a burden to you. > > Did I? That's how it came across to me. "The burden is immaterial since many categories of programmers do not perceive it as such" is not much different from "the burden does not exist," when the inferences drawn from both are identical, to wit: that pcase is fine as it is.