From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Replace trivial pcase occurrences in the Emacs sources Date: Thu, 1 Nov 2018 02:11:33 +0200 Message-ID: <10561e2c-9e65-f222-2f35-6970dfcb6baf@yandex.ru> References: <83tvlcsnee.fsf@gnu.org> <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> <83efc5j539.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1541031032 13613 195.159.176.226 (1 Nov 2018 00:10:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Nov 2018 00:10:32 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Thunderbird/64.0 Cc: cpitclaudel@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii , Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 01 01:10:28 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 1gI0Z7-0003R6-Pl for ged-emacs-devel@m.gmane.org; Thu, 01 Nov 2018 01:10:25 +0100 Original-Received: from localhost ([::1]:34111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gI0bE-0007Qm-9I for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2018 20:12:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gI0aN-0007Qh-Lh for emacs-devel@gnu.org; Wed, 31 Oct 2018 20:11:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gI0aI-00062L-ML for emacs-devel@gnu.org; Wed, 31 Oct 2018 20:11:43 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:44069) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gI0aI-000621-FG; Wed, 31 Oct 2018 20:11:38 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id d17-v6so18053904wre.11; Wed, 31 Oct 2018 17:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=AlEerjbca2lFH/T959I0f/xtGw8sMbKPtdM0TNAIgdI=; b=L/ucEcNNdUAGgKi76Tvk/CP5C+fwCCzVvoI+Xb6h4PlL9iKDvttNkaovRNLglZVQIM +3FZHhZZwll9wXOTnNMnq7zAzzHQiSJjtO6zBi2KFStf26+THg477LIxEiqxQzL56DBG 1MsVqewEsRnRbtE3rN26TECW7DXh2OTfPmB7bRgNGsKzg8aDnYhJU5SmJAn9RARQ87Xc LoHPCgKU1fOO74jbVsBjb/NAcHtIJy41nrtXINaOOm6Cy15Z0I31ThF6BN20xM+qUu4d UuI7OtoGxXJ26jAra/c9flNmR0LcAtrc06SSWQwLPPQMaMzkrvYd52rLV4j9AvwVn08a fV1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=AlEerjbca2lFH/T959I0f/xtGw8sMbKPtdM0TNAIgdI=; b=e9gEcMgQljKOWhmfaiYGnQdkuhS0Gq+g/iFEzv0Wzp7UMUfAsYrJPMqss4hC2qbS3L xtNs2MdWVn7yKebm1soIpk+T9wdqyQjK2J/8HSP7WLcW16xrO/X+xo+oHnCAYtxlae9J Pq/7B70Ey8WP+nQJa2SK724pAo8/9Mw2LX0DM/uHLXAwaReLLx4LSTrDPMi7HTk6sMfA nOSr+vWuEZmGtWRGLiwyZdgzw8bhfWp3LfWpeWWyFVsUZBuEhKhmOzXbr7bMqRbsW4PF RiIxcJRz/GP2WtroO+a+mPZR0C+TuCLcvIXE7a7CP3GuXpxGBqYRixzyYdKsvslzx14l qzHQ== X-Gm-Message-State: AGRZ1gKoM8LpUlzAdnoUpWJLFpiLMjErNuMjzF6pnj9iv9wAOGCW0M/c 2743rmXdhAwAwn2DPqVvhiyQLq4s X-Google-Smtp-Source: AJdET5dCeYWPzOPmRb7fzLb6O+7ks92O3cyeQ/azgB1NN1rgL55mlppT38NHS0SHvToPQpb8Nd9h7g== X-Received: by 2002:adf:9403:: with SMTP id 3-v6mr4632365wrq.54.1541031097215; Wed, 31 Oct 2018 17:11:37 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id y21-v6sm8887585wma.36.2018.10.31.17.11.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 17:11:36 -0700 (PDT) In-Reply-To: <83efc5j539.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::434 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:230929 Archived-At: On 31.10.2018 21:20, Eli Zaretskii wrote: >> a “walking stick” is a stick that is used for walking, or a “thinking >> cap” is a cap for thinking. They don’t walk and think on their own, >> but are tools used in a specific activity. > > No, they are tools that help in that activity: the stick helps in > walking, the hat helps thinking. > > By contrast, those patterns don't "help" destructuring in any way I > could spot. Surely they do: they provide the whole destructuring logic, in a declarative way. pcase then simply interprets it according to its rules.