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: Instead of pcase Date: Sun, 19 Nov 2023 22:06:20 -0500 Message-ID: References: <871qcpn3ep.fsf@web.de> 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="39433"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 20 04:07:04 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 1r4ucp-000A5I-KK for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Nov 2023 04:07:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4ucB-0000pe-52; Sun, 19 Nov 2023 22:06:23 -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 1r4uc9-0000pQ-5M for emacs-devel@gnu.org; Sun, 19 Nov 2023 22:06:21 -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 1r4uc8-0006Gk-Fa; Sun, 19 Nov 2023 22:06:20 -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=0CE45pwaI/gzYD2WQWu+3GIfdFhMRPebt28EkUbrfLw=; b=oZVxJ4tVTNRQ W2KrrvRx1q3zbtoQzXksVGXxNK4WdSn3/uhXreB8tKRP5MOoLP4fHR0c+2NGTXRFBhYlMlZFNE0ks o3DjckY49HYTXVFH23Vp5LQqki2ZRW7doEuKF+FZOHJ5W2/kCPi7LF45YlKyaBqF5C7J3myPWuE3d iIWWntH11wqiZop5DevXqm9u2ZJw5thr4wkjl4msgGgD/ROOJqSu1dFTMYe9FId51+1yDZlUM4awp WtXIIWyF1THJ6eemr7W4xdqVzLXUwRTP09crakTRhR6MTaCXLwmJMGXuKs/ao9EBPZP9EJXDN5JlQ QxTPax22UWEGtTw+Dny+FA==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1r4uc8-0007qt-3Q; Sun, 19 Nov 2023 22:06:20 -0500 In-Reply-To: <871qcpn3ep.fsf@web.de> (message from Michael Heerdegen on Thu, 16 Nov 2023 16:06:38 +0100) 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:313029 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. ]]] > > But don't argue that this cost does not exist, simply because it > > doesn't feel like a burden to you. > Hmm, I must say that cost was small for me. There is also a cost of > reading a more complicated rewrite using less suited language > constructs. It would not be more complicated in substance. It would only be less terse in the way it is written. > I wonder how that would look like and if it would really be simpler. Or > if it would be structurally more or less equivalent and only avoid the > concise syntax. I hope it will be similar but avoid the tersd syntax. I have not finished design it, but I made some progress today. Would you like to help design matching functions to do the same jobs that pcase does? I would like to make it possible to combine various matching and destructuring functions using `and' and `or' (plus any other Lisp functions you like). -- 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)