From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: Replace trivial pcase occurrences in the Emacs sources Date: Mon, 29 Oct 2018 22:53:12 +0100 Message-ID: <87lg6gifnb.fsf@web.de> References: <83tvlcsnee.fsf@gnu.org> <86mur137n8.fsf@gmail.com> <20181029130132.GB4195@ACM> <20181029134722.GC4195@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1540849949 31280 195.159.176.226 (29 Oct 2018 21:52:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2018 21:52:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 29 22:52:25 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHFSS-00080y-9r for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2018 22:52:24 +0100 Original-Received: from localhost ([::1]:49222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHFUY-00070v-Su for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2018 17:54:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHFTe-0006z1-3c for emacs-devel@gnu.org; Mon, 29 Oct 2018 17:53:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHFTW-0000s3-GV for emacs-devel@gnu.org; Mon, 29 Oct 2018 17:53:37 -0400 Original-Received: from mout.web.de ([212.227.15.14]:48169) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHFTU-0000nl-Td for emacs-devel@gnu.org; Mon, 29 Oct 2018 17:53:29 -0400 Original-Received: from drachen.dragon ([94.218.210.177]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0M7scS-1fM07e2asy-00vQLR; Mon, 29 Oct 2018 22:53:14 +0100 Original-Received: from drachen.dragon ([94.218.210.177]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0M7scS-1fM07e2asy-00vQLR; Mon, 29 Oct 2018 22:53:14 +0100 In-Reply-To: (Stefan Monnier's message of "Mon, 29 Oct 2018 17:08:38 -0400") X-Provags-ID: V03:K1:8VuOA47limrNOf0g5nwdAZoxgNvQXrFg0BwBHtwHk/WhWDV1Ouz 52B502ETiPwBtViyYAll0berxy/KXIfHeKPW0RB9rGwMCdDeaV7EtJzEuLK7dxi2yrO9lyJ jS3yN5s69Cb4qTClt+coWJkLRwCiEQQgSicp9snnfRFQpaOaOGo4+Hh08WJ/PY0MXoIAR48 5T28QoWWtSULXsiUbJnLA== X-UI-Out-Filterresults: notjunk:1;V01:K0:IBd4vY+D2yg=:87JnT2wvPNwzDJu7LtWI2w RxsaHPcuMrv3ELAzMiBMMypc6WkwQoR+RUQnpoY2V2mfqnuzlOKRIVjqXDjT2ExYfdK6frCEF E4q2plK+Ids8AWmWlb6ezFzEU0ZnIiRPy54SC5Z4w5vef0NPysRUP0e1qOUI4qK6xCPLHsSxi 0ZePyxmBJKRgHlgfPN5sQYEN8q4hwE+3C6gmDcyuPGyjmtAkAKsfs71sdKX8Bb3FPHx54cJCE piq3gnTRZTto/Flli0Izk8FSwo47nVeqSdGOtElh4/EyOzSMs2+I/N/yEpU7R+Pci5y3lZeuc xh2dt6Zoccim0S7WPoiO4XodzKbWhh4Up9MSBxa4A1IwTnVhnHPzNzRtc5hOoa3y7e37GJQcZ IotpSghvDLucUw+Su0QbUoh26JUwUn7kV+EsLEd8EBA0Ie5gollqCq9K1yfCSkJNcOyVxsQPY cPto30l9y6mAy9ODTUo4cXcN1RHYgs/aS8u0le6eF54woLmgU+xJk9YX0JY6HvygjsDjknirr iRkuCQqPMY+upDmvmzPfB3/xkjJrSc5TtCEmGD3FzgUa22RhT31ZQ1znibQU1YqKyrKemStrp xV0hZRKXbdNIL5hvmp9ewyj03XF+uLbkITv6OW2KT/bnlDQNVUzMmFx/cf4vSQDNa4bWI/arj N9q8o7EXIXhET1U20nLmmre27xek6PKroj0zyrIaPMwHZmzlySYAAqbTaSc1fAPMyfvb9zww0 I6+ed7E3FTWiJg63I2H1w9l3EwurBrSEy394ASThwRpZOCcw8qlt3HnRJCW6NtUzPJ7GsUbf X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.14 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230777 Archived-At: Stefan Monnier writes: > I'd rather keep it defined in terms of its differences w.r.t `dolist`, > but if really needed, we could change the doc so it doesn't rely on > `dolist`s own doc at all. I also don't think that would be an improvement. > +As in the case of `pcase-let', PATTERN is matched under the > assumption +that it *will* match. What this leaves a bit unclear: It sounds like matching itself happens differently (user visibly). Or does it just mean "if PATTERN doesn't match, the behavior [of pcase-dolist] is undefined/ this is not allowed". Michael.