From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Code for cond* Date: Thu, 25 Jan 2024 23:30:24 -0500 Message-ID: References: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8109"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 26 05:31:19 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 1rTDs7-0001xI-7E for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Jan 2024 05:31:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTDrI-0006TU-7M; Thu, 25 Jan 2024 23:30:28 -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 1rTDrG-0006Pz-AL for emacs-devel@gnu.org; Thu, 25 Jan 2024 23:30:26 -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 1rTDrF-0000T7-5J; Thu, 25 Jan 2024 23:30:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=cgAmKqTACqgurZGCWUOOreVpkPkwKgJC8Mk8c4eLYXY=; b=MDnxbjjhawKG 5vcHfL5zX2JS1NoSiymXkIxTAHFpr+hMRThcxCWWYq0DloPipVK654kX3q679I5OYgPhVc2Ll46Jf ybN23apT2H4xh9TEoRbjca7+rOjfIW9/kVBBwQ/sE6zxlXWAdUFpVmo9L0jw/4d6a6cgAbFBDjhxA Hf600rrT5DLywGeq1VPHyt+5/zpWQ1ra4snJLPClLC4URFcfzeDYZq3I7hTFHJxsj3kezNPWUoveG i5ZKJX2KgLDI2cTyHxzDc/JvrS/byc+jL5ZVAa5Q4gqVmV9xa3hYMbhfe0qKg5sSglhq64QD7+wlu TC/kHaF2De5U3H+6F30v2g==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rTDrE-0006Qc-Id; Thu, 25 Jan 2024 23:30:24 -0500 In-Reply-To: (emacs-devel@gnu.org) 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:315409 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Finally, I see a fairly extensive but hardcoded pattern language, which > seems like a regression compared to Pcase where the pattern language is > built from a few primitives only (with the rest defined on top via > `pcase-defmacro`). cond* also has a macro-like way to extend the patterns. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)