From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: combining cond and let, to replace pcase. Date: Tue, 21 Nov 2023 17:14:30 +0100 Message-ID: <87zfz79j89.fsf@web.de> References: <878r6u3s7f.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28332"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Richard Stallman , Spencer Baugh , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 21 17:15:33 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 1r5TPP-00073q-Hs for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Nov 2023 17:15:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5TOY-0007Ps-My; Tue, 21 Nov 2023 11:14:38 -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 1r5TOW-0007PI-PO for emacs-devel@gnu.org; Tue, 21 Nov 2023 11:14:36 -0500 Original-Received: from mout.web.de ([212.227.17.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5TOH-00074x-9S; Tue, 21 Nov 2023 11:14:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1700583256; x=1701188056; i=michael_heerdegen@web.de; bh=5/avC+5OlN/P9A8nihxW5lH3OHLlgRtKD/UAxdmLpU0=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=ZhBxB70qjurFH6c/CzWxeb9I9iLYjBYlSUq33h7vadGWke2ReAtZvhBBi0a1GraY 0mo1EvQlhSag6KPhvB94nPLbNy6zkqnyRM4Tp5kzsaMHq9t0cQGzAR2Ccj6z+9amF VbRH2c4rdZfDE5I47e9i6nBKkQvNUjOd6V/VDh2VOHEOJCdsgj3zKLTSxA8+6ouRc 4h2yFAX3YL3A289bpA4rUQbL4qG0MB5l2pG45V42R6yIS7HXv1KvAYg2/T1Qwfcpe 8KP+943fIaVwEf4uf2PPbeyv7R2fCbTbmgHy/OkD1MRmx6GgiMu+CLXM2T0h5AeYQ L2PpDGjvaCkMOZjFmQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from drachen.dragon ([178.6.28.177]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MLRUX-1qocvU3U7n-00IAcX; Tue, 21 Nov 2023 17:14:15 +0100 In-Reply-To: (Alan Mackenzie's message of "Sun, 19 Nov 2023 21:36:31 +0000") X-Provags-ID: V03:K1:DJdJ43YVcpEaNhq0rxAe0UXKQ1uutkVQ1oaO3nl9uFsM1jGiA1U 99EjTAiXZL4wq71QX8oiUvDT2GV429M+09BTMARaM7oz0UTlUZEpK0eN4mTD1E1rGB4IVGo WuWBz3QYGbzcZ6F73H3GD1zTs3SY8Hxvf24scZN0nlgrenMZg4AU6lEb6tADr1Dr83jRMoG nN2ZXMUniS8EhJuhHFNGQ== UI-OutboundReport: notjunk:1;M01:P0:zV7HZ0txHJw=;jBwdA7yxsG/PXDD+PobE3NEbfYi h8Roo6j2O5iWP9BMDHeZyNfHKUHj47tdBGarStjVMD/Oa22/wyl0Q4E3sfNFUkS6uXlxnNlUX qdh2W4ewWfJoRXMI2g5UFsEbDUGKpfU/HpFFaDQeUUMHhplfd0JkNsY3NTSIY0QY5pAAi+sxD jvMuooMRn7mQ34NayIwllw/3l1rbjJEzHrFswIfst13VjvLBHFx7RWmVbcxemc1XD3ZUhWqXY NxB61tCAEjLTH45ChDelnxT5qRGItwh7HzuMDUG2qbDMwzuwkYjRsilqy3YYW8Ry6VjRVz6a+ HrqobCPO4hKs0FjjQrmLFWIGUxKmzDR3aT71SnA2hcWtbUnepMS2BnC/McvoTazQYSzHNWdCF ft1CPUjmxBCUttDrzfq4b33xcACeaktIv8422geJyurBNQE6aivlNWGPYmJZTgpFPBLvKx99v 2Spz+B089/bKuKnbw9gsSx8TbEgUYYsZEG+lTKmUrDbAUCnGHiUaVIWnA6RDlc2w5HGw6KiHN 0j8UZGx3aePhQJ6mow/u6h7tOtvSWJZc2ZlgcgIN/wEUeDJ1DNnmrbgE1ajeMvjM9HXHDYZZs PUWa/M9HomNH8NLnw/b5/d5BVG752dXwgLZWo3tGR3sUtrAyCxe1nUzYj82Vc/WxjvJu+mtkO HTsRbGn/uXOL5aet1xlJ6XVbqcbcS5TQaX8xvS0K/Fc7Z2juL4aPz2pV+0JsjdTDO3kCqdm3/ +OsoKdogq1KSxf4l5pl5hy1Jm6fskUwZIt6aJYoIp8dE3xQYBpSFOCNeb1okk52OhEl/AXrk Received-SPF: pass client-ip=212.227.17.11; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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:313116 Archived-At: Alan Mackenzie writes: > I may be mis-remembering, but I think it was you, Michael, who put in > the work to fix these defects in pcase's doc string. The result was > far better than the original. Only some work was done by me. For me, personally (and only that) the documentation got worse. That's ok if it helps a lot of people. If you have a more mathematical background, the intention and the idea behind `pcase' are somewhat shadowed now. > An alternative here would have been to invent new reader macros > instead of complicating and ambiguating ` and ,. That would further shadow the idea. It is obviously necessary to understand that design idea. Seems this is the major problem for most people. We should probably do this in the documentation if we have not yet. Or did we? Michael.