From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: cond* vs pcase Date: Wed, 07 Feb 2024 19:00:10 +0100 Message-ID: References: <822c332c-1a85-4454-8978-0b1491981058@alphapapa.net> <874jek5r0o.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="4687"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Drew Adams , Adam Porter , "ams@gnu.org" , "emacs-devel@gnu.org" , "philipk@posteo.net" To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 08 06:40:11 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 1rXx8s-00011A-FN for ged-emacs-devel@m.gmane-mx.org; Thu, 08 Feb 2024 06:40:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXx8J-0007iw-0G; Thu, 08 Feb 2024 00:39:35 -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 1rXmDl-0000QC-Gp for emacs-devel@gnu.org; Wed, 07 Feb 2024 13:00:29 -0500 Original-Received: from mail-db5eur02olkn2020.outbound.protection.outlook.com ([40.92.50.20] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXmDg-0004Qd-RM; Wed, 07 Feb 2024 13:00:29 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AGzDQ/OuA5JjM97s0mKUsVY9LV2nZVnXPTCuxk1soRa/f39n+4yKggiyscS3xa8vcoOkJwNhN+gUJGCK32aKAq+77VzIZ/tlVhf8al9SrCwKH786azY9YZwAyNatic0xmkbXU8r5CI7Zaf5dVA3FUqThZf8Kvybwj6voectW469tz0Et7jMgBl4Zt3VAHRLL779n6jRDBTzUK5ltcmIF4qeXgmh6HEI14aDn+Uq0kqPr9XPd1mYz+pKsRnjpTGgBrrhLlevjH1pYPCy5Lx+SttC0xnsFoshB0HYc77EnlYqk5UZHmMb3ElKniXA6GZWYk3nbOMhuB3Q1WBBLrFY4xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1YkiOuj0mlqvGxYECPMHBxfOuP4H8wGjkAWbEYC0zR0=; b=QSZMGRBGaAZwjxUl62Hibg+Pfw0Tx642Qq5vi7OkXZpxXOjUfkD2yozXpFm0Vzfuv2k5Tj+hjC61SKDP3s9MHsDIClViQXP7m7AYNMNMQrLb+G1c3fhfcxZlEWW6IuLgfu74E7+NL9g0CG5TUtx7ZQWTjz1+KoxahOt3VHSQDNzIgM4Opwp2SHKzDKmLHC5qGWC9AWCA+XV5LBxn2NUIK6M/tXULMeDgOvhwC8CVufiqwa0voRfF3FLBcNrgkxoZBVkNLMoSsaYZKnV/rmCkKWqAtbCqENFy/X4JFBs4RiHYV9ziSoE12zcxeuV8fwNYEM9TeSB0UKVq7mn76bCJCQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1YkiOuj0mlqvGxYECPMHBxfOuP4H8wGjkAWbEYC0zR0=; b=hsIaFF0tKWQ1cH+GrqcTplDbG7fXXAWSH3TG8t31+OQnqLMJ6l7saAMrqzH28cSIq8s4FwmnpTpNgKcCS1ZS9wMnv6EpjkZb/r7r3hRtf86uXSVcMc6zzC77sw3wM+e7WYicTsNTILBVpx6qoW5YeOCWz/6GEOTHjluWnWbLxEALM+CVjDZKbYx/NrYbqP1aGqUgm93lXIZUhcuN0PuO9Oc0A0kDOkyfCJcN8nOjb809j2FFNf651NiG0DTRXZFzXqAiASdpHpaW6mIx7AnxZwCqzz1802wqzADyeySmDUwMKrPAVtwonC2f0Mx1xj+paf9qtc9z4w3I6EUxrIYr8g== Original-Received: from DU2PR02MB10109.eurprd02.prod.outlook.com (2603:10a6:10:497::14) by VI1PR02MB5775.eurprd02.prod.outlook.com (2603:10a6:803:12f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.36; Wed, 7 Feb 2024 18:00:18 +0000 Original-Received: from DU2PR02MB10109.eurprd02.prod.outlook.com ([fe80::b91:5e3:fb4a:3b2c]) by DU2PR02MB10109.eurprd02.prod.outlook.com ([fe80::b91:5e3:fb4a:3b2c%3]) with mapi id 15.20.7249.035; Wed, 7 Feb 2024 18:00:18 +0000 In-Reply-To: <874jek5r0o.fsf@yahoo.com> (Po Lu's message of "Wed, 07 Feb 2024 21:43:19 +0800") X-TMN: [z26hS6rTfunWJcmEBZZyI+0IgjMx7E0Z] X-ClientProxiedBy: OS6P279CA0155.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:39::10) To DU2PR02MB10109.eurprd02.prod.outlook.com (2603:10a6:10:497::14) X-Microsoft-Original-Message-ID: <86v870f93p.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR02MB10109:EE_|VI1PR02MB5775:EE_ X-MS-Office365-Filtering-Correlation-Id: 9515085c-20ea-45e7-fa4b-08dc2806a515 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oEUCfiQjNSzF8I89LpfiW1PwOqXi73P/G5HJ6qgoFfBw1+/ZSxAwsYjD/oNDdCs4W4jJy9UKrBAoIWpj/KistQfcz6THFj7NMwJC63dOFAv0j7MoGEFq0/CBVqWpW1vQWoH6WDZJlemKaVEQHBRN0Lx2S6gk8qe3AILw5IAoudjdwNQf5KPzYNjWnKGAlBWbC1nwFyzf6+RGYLq47h+cfwfrlyRsgFtuPQ2Gu6LFDpg/SwYRTzHf8KP0v6jlM6kRMeNzdA7PRlwjMdawVe2Nda5qzYF0zwP5DLd1XvaCNsEc3tR9Y+LsQKxigOFiT40bSV24Ogutg0xyP4cwkkIcgtR4Q4kR2LjrfcUjsSRBJS5CYT15Lyz1Fox6+UmDxGPt45ybYXa93vaLEg2Yv3yFms++3g2gJ6BejJQuglO6LZqjCbsqrQdH6yt3J6EQbth/fWYcnSr9thPRDUN/KCsXsKBXyev5BqFpX//CnSB6u906ouZjB4pAcPqwFScdZCFUOP6bZ8hpuCSfXViAlw+Pk7HW3bb9FOd0OXjOJxyLSL9sKaqb/HTzR2GF5yi0VdH5 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?VL+C+3Nlegt70W0rbJm5j4ADNCn3gGU0AAY5FSVQsxT2C3AIrAdX7246Zr4l?= =?us-ascii?Q?gia7GLmUxbMvP1BV7r7AgTXjxgjYv0eD1VeaQTn4Q1xbI501Yry3nQTJEXGf?= =?us-ascii?Q?zKv/i/N2kzT9799ys/jxtW8mGCrwbRxQkxKCSjlr9+DNkkUJ/ir88ZRCQNmI?= =?us-ascii?Q?TEbCpUSqw8k93DhOBGhzHrxsgjCERj6nF9c/7MAy1agLYmQOJ5kWDpV+oHo6?= =?us-ascii?Q?krJRxunBTbqDnoIOvHjYHPF0wBvT+kUt+y4Sz6V/bVy1JWV196q5r3pZ3LLg?= =?us-ascii?Q?ep7tETcw8NQ/Up+aw3uPGpvFcxA2JxENJdPkSzlkiEKaWpY8GKLLnc53iA7k?= =?us-ascii?Q?tIviMF+5M/6ADh2Ub+zLrDinULSa78nZzV49NuLzQxq1YrZvqTtLODgBD2Hb?= =?us-ascii?Q?7n+5rnhcoOgq1GAkwQzfO6QD0YsqjklUlyZrkdTx4Y0kIXpE+B1I3enu5ZYR?= =?us-ascii?Q?rFirOMzskt3AWEYfq8hXHGM64I+GmCQFPK10y8JJzwwysu4SYfI0IJpRm8O9?= =?us-ascii?Q?QXAamV0CNl8AKYrKigQUPPHx6BAVzEs1uiv0xhZb7NSrfhY7CX/DhR8Dewvu?= =?us-ascii?Q?mdarONlH1Rnm81FidCNH8r7r8BBtorO6BF2mHz7jKI0ST+zd17//qDDwHHa+?= =?us-ascii?Q?79 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 9515085c-20ea-45e7-fa4b-08dc2806a515 X-MS-Exchange-CrossTenant-AuthSource: DU2PR02MB10109.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2024 18:00:18.7564 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR02MB5775 Received-SPF: pass client-ip=40.92.50.20; envelope-from=arthur.miller@live.com; helo=EUR02-DB5-obe.outbound.protection.outlook.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_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 08 Feb 2024 00:39:31 -0500 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:316013 Archived-At: Po Lu writes: > Arthur Miller writes: > >> Drew Adams writes: >> >>>> (pcase foo >>>> ('bar (do-some-bar-stuff)) >>>> ('baz (do-some-baz-fluff))) >>>> >>>> is not more awful or wonderful than: >>>> >>>> (cl-case foo >>>> (bar (do-some-bar-stuff)) >>>> (baz (do-some-baz-fluff))) > > Sorry to interject, but this really suggests that `cl-case' should > become, simply, `case', in subr.el this time around... Pcase in that case, thanks.