From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: "Like `let*' but ....." Date: Tue, 24 Jan 2017 16:26:55 -0500 Message-ID: <8689586f-16fa-058e-6e9e-30e74b289593@gmail.com> References: <20170124211227.GC7358@acm> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1485293283 4571 195.159.176.226 (24 Jan 2017 21:28:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2017 21:28:03 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 24 22:27:59 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 1cW8d6-0000Ii-9H for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2017 22:27:52 +0100 Original-Received: from localhost ([::1]:55871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW8dB-0005Bt-Dr for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2017 16:27:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW8ca-0005Bo-Nh for emacs-devel@gnu.org; Tue, 24 Jan 2017 16:27:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW8cX-0003PR-KH for emacs-devel@gnu.org; Tue, 24 Jan 2017 16:27:20 -0500 Original-Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:35391) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cW8cX-0003PA-Gw for emacs-devel@gnu.org; Tue, 24 Jan 2017 16:27:17 -0500 Original-Received: by mail-qt0-x243.google.com with SMTP id f4so28293650qte.2 for ; Tue, 24 Jan 2017 13:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=WlRfeb/HAB5T3OwKLZGaYyub2R2U4tVa0i6FeHDQA1I=; b=bs8HAzmNZwDyKGc7TKUv1TacAS9pKsG3mh8elFQ8i1ZM/7c6YqrpfCSClHhO/tAbEQ ypVTPR5CiGcI61kLEmRwWvyWMhhla8nWY0cqRmpPygC7fgl9xGEdJQhMACFJn6WrQ5BB JZ7Alta/BKTv0mCw49ZeOajWat036bmvtoiHB+FyouPbyp5ANwDklXC47hW8dUWLXi19 bWxz0H81OEFn7+oHCs+YwbUHLhZvqb88pPmk37RNyp+EEMcydyrgVFEIAlPbl36mipQD w9Rg4trAY2z7Zgadk83Z6tj5wZU6/WR3CeNX2E7QZEGHcMoQejL6EnpXl+48kj6QjZrG BTcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=WlRfeb/HAB5T3OwKLZGaYyub2R2U4tVa0i6FeHDQA1I=; b=n/vMU/GRXw7H6W6X6031GPitck3Y64sx41Ohl65176or0fAoNDemGzr8hAzLBYn2NY g5lESoaygxBTFOMOn0ED+gClcUB03VBD2fQ2G4baPfw6uPjWRsncAPxoQ0zL5KbWB89x vAKT07oRgLWm7teRF1uyBEwI8+J+MN3o0jGgNkz8GtmNvUVjEyrTRgEQlGBR2GP370V5 2sO5AyqsKIdIEX5oZKylDfjJj4ANEU3hMy/9RCJjDWqaptTG34zxL2ZmqmOEueu5x6NV v/kE6k7N+1+Ys087w/zwVsHUv43JiLnnsvZZfzLumMtdasP7VxExytm5RoQxBigy2U/p im2A== X-Gm-Message-State: AIkVDXJ/GUj/IUN4AKNa1u4oW5QD/mZDzNHzOd+eD0AhK4GJPcNwp6YlLOOx2c25qzY3sQ== X-Received: by 10.200.54.182 with SMTP id a51mr32002439qtc.221.1485293235338; Tue, 24 Jan 2017 13:27:15 -0800 (PST) Original-Received: from [18.111.103.8] (dhcp-18-111-103-8.dyn.mit.edu. [18.111.103.8]) by smtp.gmail.com with ESMTPSA id 43sm17001537qty.26.2017.01.24.13.27.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jan 2017 13:27:14 -0800 (PST) In-Reply-To: <20170124211227.GC7358@acm> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::243 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:211588 Archived-At: 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! Cheers, Clément.