From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: "Like `let*' but ....." Date: Fri, 27 Jan 2017 20:33:17 +0000 Message-ID: <20170127203317.GB2630@acm> References: <20170124211227.GC7358@acm> <8689586f-16fa-058e-6e9e-30e74b289593@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1485549254 18579 195.159.176.226 (27 Jan 2017 20:34:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2017 20:34:14 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?Cl=E9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 27 21:34:10 2017 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 1cXDDh-00049W-6O for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2017 21:34:05 +0100 Original-Received: from localhost ([::1]:48811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXDDm-0003dc-KU for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2017 15:34:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXDDD-0003c2-Qa for emacs-devel@gnu.org; Fri, 27 Jan 2017 15:33:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXDDD-0003Rb-5n for emacs-devel@gnu.org; Fri, 27 Jan 2017 15:33:35 -0500 Original-Received: from ocolin.muc.de ([193.149.48.4]:64573 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1cXDDC-0003RV-R2 for emacs-devel@gnu.org; Fri, 27 Jan 2017 15:33:35 -0500 Original-Received: (qmail 58073 invoked by uid 3782); 27 Jan 2017 20:33:34 -0000 Original-Received: from acm.muc.de (p548C733D.dip0.t-ipconnect.de [84.140.115.61]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 27 Jan 2017 21:33:33 +0100 Original-Received: (qmail 27910 invoked by uid 1000); 27 Jan 2017 20:33:17 -0000 Content-Disposition: inline In-Reply-To: <8689586f-16fa-058e-6e9e-30e74b289593@gmail.com> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.4 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:211660 Archived-At: Hello, Clément. On Tue, Jan 24, 2017 at 16:26:55 -0500, Clément Pit-Claudel wrote: > On 2017-01-24 16:12, Alan Mackenzie wrote: > > What is not clear is precisely HOW `pcase' patterns are used for > > bindings, and what the semantics of (PAT EXP) are. > Hi Alan, > I find that mentally translating (pcase-let* (( )) ) to > (pcase ( )) helps. This translation is mostly correct, with > the added twist that the former is undefined if doesn't match . > Then everything is as in the pcase documentation. Hopefully this helps! Yes, it does, I think. Thanks! > Cheers, > Clément. -- Alan Mackenzie (Nuremberg, Germany).