From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: Semantic of pcase `seq' and `map' patterns Date: Mon, 12 Oct 2015 16:02:32 +0200 Message-ID: <87mvvow5fr.fsf@web.de> References: <87wpyaet7r.fsf@web.de> <87y4iqh7x0.fsf@web.de> <87oajmld49.fsf@gnu.org> <87oajlyif9.fsf@gnu.org> <87a8v53wll.fsf@web.de> <87k2qsxr73.fsf_-_@web.de> <87bnc4mh2q.fsf@petton.fr> <874mhwxne8.fsf_-_@web.de> <87si5gw6f3.fsf@web.de> <87twpwkx8e.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1444658600 11125 80.91.229.3 (12 Oct 2015 14:03:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Oct 2015 14:03:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 12 16:03:10 2015 Return-path: Envelope-to: ged-emacs-devel@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 1Zldgt-0006hE-Tr for ged-emacs-devel@m.gmane.org; Mon, 12 Oct 2015 16:03:04 +0200 Original-Received: from localhost ([::1]:55577 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zldgt-0001g6-Tv for ged-emacs-devel@m.gmane.org; Mon, 12 Oct 2015 10:03:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zldgb-0001fT-KV for emacs-devel@gnu.org; Mon, 12 Oct 2015 10:02:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZldgW-0001uS-LM for emacs-devel@gnu.org; Mon, 12 Oct 2015 10:02:45 -0400 Original-Received: from mout.web.de ([212.227.15.14]:59204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZldgW-0001tx-CZ for emacs-devel@gnu.org; Mon, 12 Oct 2015 10:02:40 -0400 Original-Received: from drachen.dragon ([90.186.2.115]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0Lgs1W-1aPazS2vrC-00oFl3; Mon, 12 Oct 2015 16:02:37 +0200 In-Reply-To: <87twpwkx8e.fsf@petton.fr> (Nicolas Petton's message of "Mon, 12 Oct 2015 15:55:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:vban9SoyKoB8oyQYFtzWzkDJNUM4976ERCSHU1eATjuz4QtmKDP +CcSY9RyJFtrB2Net9XMZzFHUka/I75Spyr2tJ91ssUVd9WXy2WEzlJzVG2ROTrrnCbmUn9 caD19nyGv1cxtYjPjLsbNM68nSarr2+jCsfPvd1r/Yg28l/n0xV3OwJTnSlrJh7muB8fJB4 vnHBBoclH5lnHTt9KlVMg== X-UI-Out-Filterresults: notjunk:1;V01:K0:cqGPaxKXJL0=:7TPOk36GpJm5PkBQxsF1wP 9HQQVGr06fvKsfxtv09s2m79iP5oIvpSF/F/CVdAwVi90Li4gFaV+0RKX+I+z5lRBNDHc31Ap rS2BCpAWxeTvqbCNT3/EnFeD129AKRaJmWY4KbsGeNWKs+Mn3bLbyrCPNd4yAQZrDnfFHgsS2 rMOx0XlH8QZtAFeTCSuEnLGHjZ1zw0upGS8C8zjLs1SAwmwZQ7zLlq5A3nJNJ1xzw/xJg3DmA JvFLsGsSM+H8wJA3tJoZth1Bgpw8eSUOGIT5039Ov6hX4CXlxhSs117hAlMrYhofdVR8aIPyg 5JXXqItOsBIgPpCLUoprd7HKoCsz1fzCLeaEszh+1WRAN2a4zPycPuDnrX8UbS0GY4MNuuni3 kESR/iMrpqllbNH3kiWH3bkwDYckWa1eh0WMd2BqxqC47cxOkNv5RUlAR1P0Pq8PruugkmOm6 tIBC0w/WZLa8BPtyUCtRgCQomkPhZvOUBZm9qYR6eFTW9QtYoT5Xz0ICyXAYh+J40dQB6PzX6 HtjsVSGwRrziWV2gU4X9zLtbmFIUnx/iZl7U7SlKY765+Ba/8xGNpcapXmrvhC+06/YxFezcO XrIk+T3YEBegamnYnsRi+oIHhHifabvxXpbVjyUptZ/AshoO7VA4gQSAgdf/g5Ndnt7HRfwmD dAn22RcLbWT0W3ujcvcOiF5pRqwgWaPzy5VGEGF75iMcTK+wqG5v7pajOY7Hbvre3wBtfeWRY BdhYFslnMdN97sV0gPV4Pq5WHNRZMqOc6elU+xWuHONk3esHpAP6kOnt1Oql9lbZ8GbQruuY X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.14 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:191336 Archived-At: Nicolas Petton writes: > Sure, using "&rest": And that's working with the pcase pattern, too: (pcase '(1 2 3 4) ((seq a b &rest c) (list a b c))) ==> (1 2 (3 4)) So that's missing in the doc of the pcase pattern, too, since it's not an obvious thing. Anyway, great stuff. Thanks, Michael.