From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= <joaotavora@gmail.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to
 `cl-destructuring-bind`
Date: Sun, 14 Jan 2024 03:12:53 +0000
Message-ID: <875xzw4ngq.fsf@gmail.com>
References: <277dd49a-e96d-4faf-a22e-aca952354a37@protonmail.com>
 <jwvplzllrrm.fsf-monnier+emacs@gnu.org>
 <30f1bf76-1cf1-493e-be4f-38e405d0ecf6@protonmail.com>
 <CADwFkm=7bc5__WNzZftWt01cnQt4NpnFez+LmqJo9qnieN2nCQ@mail.gmail.com>
 <CALDnm51VjpjCp4xLPfQ-qR1iwxdDc5XX0i3=8M1vW6vUDizMTw@mail.gmail.com>
 <jwvwmsfntmc.fsf-monnier+emacs@gnu.org>
 <CALDnm52=voD5PrnsU58wQR1omwymYdUALEAueqsQTZujU6i0rQ@mail.gmail.com>
 <jwvle8uefqj.fsf-monnier+emacs@gnu.org>
 <E1rOqrI-0007yP-Kg@fencepost.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="21643"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cc: okamsn@protonmail.com, 67611@debbugs.gnu.org,
 Stefan Monnier <monnier@iro.umontreal.ca>, stefankangas@gmail.com
To: Richard Stallman <rms@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 14 04:14:15 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1rOqwx-0005QE-Nv
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jan 2024 04:14:15 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1rOqwn-0004MY-2w; Sat, 13 Jan 2024 22:14:05 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rOqwl-0004MQ-ES
 for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 22:14:03 -0500
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rOqwk-0008I1-Rk
 for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 22:14:03 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rOqwj-0006SQ-Oj
 for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 22:14:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?=
 <joaotavora@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 14 Jan 2024 03:14:01 +0000
Resent-Message-ID: <handler.67611.B67611.170520198124727@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 67611
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
Original-Received: via spool by 67611-submit@debbugs.gnu.org id=B67611.170520198124727
 (code B ref 67611); Sun, 14 Jan 2024 03:14:01 +0000
Original-Received: (at 67611) by debbugs.gnu.org; 14 Jan 2024 03:13:01 +0000
Original-Received: from localhost ([127.0.0.1]:41445 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rOqvl-0006QY-9M
 for submit@debbugs.gnu.org; Sat, 13 Jan 2024 22:13:01 -0500
Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:52661)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joaotavora@gmail.com>) id 1rOqvi-0006QH-Vu
 for 67611@debbugs.gnu.org; Sat, 13 Jan 2024 22:12:59 -0500
Original-Received: by mail-wr1-x42c.google.com with SMTP id
 ffacd0b85a97d-336c8ab0b20so6692746f8f.1
 for <67611@debbugs.gnu.org>; Sat, 13 Jan 2024 19:12:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1705201974; x=1705806774; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=00eIJKw7dwF8lAp6/hIt/lmF+Bkt3GTLWFylCNQNS/w=;
 b=hwZqCDGu/mFjRdVOJNkkCtnctMhEP7HA2S7rAahSQJ+EUgcZqHMPnI61M+UIyLGBdj
 73iEjyXd8fhc8c5oTY1G5T6iL/55okyEszOAvIvDMnxf7x9UZskn9bTbEKfAmGzjEaxp
 MFk+se1dI5QIkyrFNIOwauOw/RfTLheE5PhHA3DFtnCSxuFG98WgQnsZOT3qSzzla+sU
 D9nc1ridOpPJWIwEd+dtL1twdPHbvWr0o2LIyKup11JpdyrLtlEwngUf0otQlZnZ49NK
 RoOy51b92vkoxnaq62CayIZaq8xM8ra7JfN4v79PgZT7egvI7sa3cHSZBEmbrzFoHNDT
 +Zzw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1705201974; x=1705806774;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=00eIJKw7dwF8lAp6/hIt/lmF+Bkt3GTLWFylCNQNS/w=;
 b=tskYBVzD0CIuKOy7DJ94klUSqrcLdCTLgw5UP8MBbxLtgFuPuH/xD4wonHgkP0zeIN
 oI6V4s61WADlGDjhGcYZAJJ21RN06uW4+JVRX+9pUXzmdBrOlLwDKvpfP9JixVWzABR+
 WHP4SrTjivxCUqvoUlY5qn+x/m2bCbTIZIkNke3P8sQaCkxeiuIhIxMUh5awJWbj4nQF
 WVx+c935VQAyJHCCjMRf8VfoOSivB+jXsgWXpQgk+k0MW/k8zmlIDHL4Qd4VKgaTMOmb
 byiHFtI6vTQoTJSszec0qHJujcki23bNuKR+0klBk/ak3mHNR3dv4l27fGbh+qglxUP0
 pq5g==
X-Gm-Message-State: AOJu0YxQgnrKTLkniRhJVnp13LF3auSOfO8/3fYXkbL9wzl0TzTaOulB
 oCK9WQpKG7dcCd7L2ScRi+g=
X-Google-Smtp-Source: AGHT+IFuhGjdKxDi3Lz5GksEtsIm2o+22UgS/hVyDsRAPkwDRtS2JediR8gSZFUBd8eEl3KvZ3bR/w==
X-Received: by 2002:a05:6000:10ca:b0:336:7a51:5fac with SMTP id
 b10-20020a05600010ca00b003367a515facmr1929132wrx.71.1705201974098; 
 Sat, 13 Jan 2024 19:12:54 -0800 (PST)
Original-Received: from krug (87-196-72-99.net.novis.pt. [87.196.72.99])
 by smtp.gmail.com with ESMTPSA id
 l8-20020adfe588000000b0033662c2820bsm8041814wrm.117.2024.01.13.19.12.53
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 13 Jan 2024 19:12:53 -0800 (PST)
In-Reply-To: <E1rOqrI-0007yP-Kg@fencepost.gnu.org> (Richard Stallman's message
 of "Sat, 13 Jan 2024 22:08:24 -0500")
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:278173
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/278173>

Richard Stallman <rms@gnu.org> writes:

> Would someone please tell me what syntax is being proposed here,
> and show me an example, saying what it would mean?

Common-lisp style lambda lists.  The ones containing the &key and
&optional with more features.  It'd make it possible to use pcase for
things similar to cl-destructuring-bind, which I suppose you know.