From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.tangents Subject: Re: The poor state of documentation of pcase like things. Date: Sun, 03 Jan 2016 12:02:47 -0800 Message-ID: References: <20151216202605.GA3752@acm.fritz.box> <87io3m60bq.fsf@web.de> <877fk1nnk0.fsf@web.de> <8760zlue3j.fsf@gmail.com> <87vb7kajgv.fsf@web.de> <83y4c9ag06.fsf@gnu.org> <87bn95m9eg.fsf@fencepost.gnu.org> <5686CDFB.2010105@dancol.org> <83fuygcs5g.fsf@gnu.org> <56886E32.70305@yandex.ru> <83si2f9ve4.fsf@gnu.org> <56889EC3.3040108@yandex.ru> <83oad2adkz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451851544 19294 80.91.229.3 (3 Jan 2016 20:05:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 20:05:44 +0000 (UTC) Cc: michael_heerdegen@web.de, emacs-tangents@gnu.org, dancol@dancol.org, dak@gnu.org, Dmitry Gutov To: Eli Zaretskii Original-X-From: emacs-tangents-bounces+get-emacs-tangents=m.gmane.org@gnu.org Sun Jan 03 21:05:36 2016 Return-path: Envelope-to: get-emacs-tangents@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aFouE-0004SM-PT for get-emacs-tangents@m.gmane.org; Sun, 03 Jan 2016 21:05:35 +0100 Original-Received: from localhost ([::1]:42771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFouD-0000QY-NS for get-emacs-tangents@m.gmane.org; Sun, 03 Jan 2016 15:05:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFou7-0000QO-KT for emacs-tangents@gnu.org; Sun, 03 Jan 2016 15:05:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFou6-0001eA-NQ for emacs-tangents@gnu.org; Sun, 03 Jan 2016 15:05:27 -0500 Original-Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:34649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFotw-0001bh-Dk; Sun, 03 Jan 2016 15:05:16 -0500 Original-Received: by mail-pa0-x22a.google.com with SMTP id uo6so165913783pac.1; Sun, 03 Jan 2016 12:05:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version:content-type; bh=QjM1EQLKSxYPKAiMQgwrbqYnmEhmhgHrjskylmOplio=; b=fmgcSqKwauwgfDL35rV2DfvpYTD6vIQxtCay3A81TVH/UptLUObiqr4lprMkODaKhT vGFA8JsStEmIe6XZnpMcKHCX6nFdi0GyMffzv3Hw4xZ/xsVuY6UHPERjqvtW5TRmBrko Od2kjKzxyMmPkKWdBAuiNvH/qkszA2eV/HL+fvBoYN1da1uWs9YnKu4od/vGMVQBCCEG 90YTCq12EU5jb+7FSOthNiDAgjHXgKBmBh3/G/nYQUS9C8REaAQhx9BdzMTtEEnqpfJD JNsB8K+UYuxz8Dn3e9Gkaxg3Wwycv4jjU7Uf1Sy+Qlyff1B/zvm/egPVGwXd9lk+wD+x u90Q== X-Received: by 10.66.250.165 with SMTP id zd5mr48362646pac.9.1451851515788; Sun, 03 Jan 2016 12:05:15 -0800 (PST) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id 2sm44718679pfj.16.2016.01.03.12.05.14 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 03 Jan 2016 12:05:14 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 24EBC12000363; Sun, 3 Jan 2016 12:05:13 -0800 (PST) In-Reply-To: <83oad2adkz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 03 Jan 2016 17:26:52 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) Mail-Followup-To: Eli Zaretskii , Dmitry Gutov , michael_heerdegen@web.de, emacs-tangents@gnu.org, dancol@dancol.org, dak@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::22a X-BeenThere: emacs-tangents@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-tangents-bounces+get-emacs-tangents=m.gmane.org@gnu.org Original-Sender: emacs-tangents-bounces+get-emacs-tangents=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.tangents:71 Archived-At: >>>>> Eli Zaretskii writes: > But that's not my choice. My choice is to use 'pcase' where it's really > needed. I like `destructuring-bind' for simple pattern matches, and cond for simple logic, but I really like pcase for combining the two. I guess we're all really just arguing about balance, which even for one individual changes based on mood and perspective. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2