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: Replace trivial pcase occurrences in the Emacs sources Date: Wed, 31 Oct 2018 15:21:05 -0400 Message-ID: <8cba9808-8cfe-c27b-0a97-705cc12771a3@gmail.com> References: <83tvlcsnee.fsf@gnu.org> <86mur137n8.fsf@gmail.com> <20181029130132.GB4195@ACM> <20181029134722.GC4195@ACM> <87lg6gifnb.fsf@web.de> <87muqwxs7m.fsf@ericabrahamsen.net> <83h8h3jlyd.fsf@gnu.org> <8b897e43-679b-d38c-e185-0efe19c09342@yandex.ru> <83y3aei08p.fsf@gnu.org> <83o9bahz6i.fsf@gnu.org> <83in1ihtox.fsf@gnu.org> <83h8h2hsoe.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1541013559 25031 195.159.176.226 (31 Oct 2018 19:19:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2018 19:19:19 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 31 20:19:15 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 1gHw1K-0006Qt-PF for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2018 20:19:14 +0100 Original-Received: from localhost ([::1]:33143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHw3R-0001cZ-6G for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2018 15:21:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHw3C-0001bD-W1 for emacs-devel@gnu.org; Wed, 31 Oct 2018 15:21:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHw39-0003rc-Oe for emacs-devel@gnu.org; Wed, 31 Oct 2018 15:21:10 -0400 Original-Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]:39887) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHw39-0003rK-J8; Wed, 31 Oct 2018 15:21:07 -0400 Original-Received: by mail-qt1-x834.google.com with SMTP id g10-v6so18449574qtq.6; Wed, 31 Oct 2018 12:21:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=M8EOXUhWnAl+ej1F8Kyk1tw07sE37vQsSZcdpck5iUA=; b=aE3KQPDTCuxRpf80sBxNWcXxiY0vmua7/SJ8Wm5wdxKjtBl7qgFRiXCdU78tv1mbAH Sz9Vsj7rS5zOvphEK6GZpFCCf5lwncXSgsuYMUUy46C56DoMbjrmjB4kG2cJkyhV51Cj 2ylR7uXFPEU0sHkETdYaLSwUi8YYSVCjAgKeO4c7qCBr6aI9DfX/12jnPbyzD1rpavod hcmPJEO1EEgo77W5M9M/6VBCx2gU8XZ16PWM+A2X60aDI5cDv3RmB/xpUrwq19pDgGoH rwVzZFQjq9Muyly+/METkBzf/164dCSqHtlANpj60tV2N38M/SQjN4NE8yeZtD7WJlgu 1K6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=M8EOXUhWnAl+ej1F8Kyk1tw07sE37vQsSZcdpck5iUA=; b=UoacWxtw6BFG0xUXd1naFinJLOIqxJO09+h+zkhPM2uQjsysPNPuUBBAmop4Z8n8NM V5KD+BmXaB+AtKhRBS+MslssnZQ1WddfgZFJIkRgnC/BTrriruHNMqfzPO5qJfQfaC+K 7USjAEuwpxKoNuiFuCYze+q36S342SFsol1v0lySaCNSAJLSWpiNb8vqFAvDkQgWsdRg Kd/EtHm/FWpFDmln5egedeYWZxw9abH7HAKtqMSWzdgnFh+yL/ZL16FxZ84zc32+RHXX TCVkJPQ47EwwDyx8x/aYMd4DUlo6xW/seGC9aMPEeoNL2JX8QS/n6qkYpAfHJetWqrT0 o8WA== X-Gm-Message-State: AGRZ1gIagg6IWN/n/hFik1vLnE81WK+oKvHjsz3O+8VZ9HnwB43PdkFb dIouw9G1OYc+jLGooEKrRijgR2LH X-Google-Smtp-Source: AJdET5crmSJgjarIoPLUz+Zs0IEq45BprAv2J1W2zsvar61fUUwEMYx6nvIdgLEGEbspeBgUJb8aBQ== X-Received: by 2002:ac8:2cb5:: with SMTP id 50-v6mr4053601qtw.338.1541013666937; Wed, 31 Oct 2018 12:21:06 -0700 (PDT) Original-Received: from [18.26.2.123] (26-2-123.dynamic.csail.mit.edu. [18.26.2.123]) by smtp.gmail.com with ESMTPSA id o27sm8076322qkh.35.2018.10.31.12.21.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 12:21:06 -0700 (PDT) In-Reply-To: <83h8h2hsoe.fsf@gnu.org> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::834 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:230901 Archived-At: On 31/10/2018 14.33, Eli Zaretskii wrote: >> Cc: emacs-devel@gnu.org >> From: Clément Pit-Claudel >> Date: Wed, 31 Oct 2018 14:28:45 -0400 >> >>> But the pattern is not the one that destructures. So I think >>> "pattern-based destructuring" or "destructuring using patterns" would >>> be better. Or something like that. I'm still looking for an >>> appropriate term. >> >> I think I don't understand what kind of term you're looking for, then :/ >> A "destructuring pattern" is a thing; "destructuring using patterns" is an action. > > A thing can be called "destructuring" if it destructures something. > It's like a "flying carpet": the carpet that flies. But in our case > the patterns don't destructure anything, they are a means for > destructuring. But something can also be called "destructuring" if it's used *for* destructuring: a "swimming pool" is not a pool that swims, it's a pool that's used for swimming. I think of "destructuring" in "destructuring pattern" as a gerund, not a present participle: