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: Sat, 20 Jan 2024 22:04:58 -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="25095"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acorallo@gnu.org, emacs-devel@gnu.org To: =?iso-8859-1?Q?Jo=C3=A3o_T=C3=A1vora?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 21 04:05:43 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 1rRO9W-0006Il-Cv for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Jan 2024 04:05:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRO8s-0006qQ-Nx; Sat, 20 Jan 2024 22:05:02 -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 1rRO8q-0006pV-Tz for emacs-devel@gnu.org; Sat, 20 Jan 2024 22:05:00 -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 1rRO8q-0000B0-Gu; Sat, 20 Jan 2024 22:05:00 -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=mSuLLJBmFxTA0T+Bmgp8u5c/2IUqpzmJW2XO1DJphhc=; b=Le7tI97ojyqv hqtMPeNf2B/TK1Zlb3SE55FwDZxBPtb3FQSHdkp+26jPZuoQ4ZnOZ3Z57EIpgBq51XUeHiPdRWcTv pfNq5gRe4CBEx6vPPdyE1r8vjRVn4wG9LhQE+zPLPrWIXx3HUNE0ji4G18dlb+Uq/o5izfH+/88Pm b3tQuc2YBOO3ZjCNWmlp/M7u5MAPgXmPQXyfJq21zzxnhMD+/zQVE5RMQuUt7f+rnYM7Kh71nFZeb VxDfCBIYE7d5iyb57KeWGfnSKHMcRkGb1F33CI5PnggxRgkk5zs836VkKKoTHXo6lu1wBPocefcCQ aTfRTowEuhLEdY5BsWU73Q==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rRO8o-0001R8-Mx; Sat, 20 Jan 2024 22:04:58 -0500 In-Reply-To: (message from =?iso-8859-1?Q?Jo=C3=A3o_T=C3=A1vora?= on Fri, 19 Jan 2024 10:42:34 +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:315160 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. ]]] cond* has four basic advances over pcase: making bindings that cover the rest of the body, matching patterns against various data objects (not forcibly the same one), use of ordinary Lisp expressions as conditions in clauses, and the abolity to make bindings and continue with further clauses. I'm going to do some more testing and then install cond*. -- 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)