From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: cond* vs pcase
Date: Mon, 05 Feb 2024 17:13:51 +0200
Message-ID: <86h6in0wr4.fsf@gnu.org>
References: <DU2PR02MB10109F1CBA5F7A8D78A597A5D96472@DU2PR02MB10109.eurprd02.prod.outlook.com>
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="30457"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: emacs-devel@gnu.org
To: Arthur Miller <arthur.miller@live.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 05 16:14:34 2024
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Envelope-to: ged-emacs-devel@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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1rX0g5-0007fP-FP
	for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Feb 2024 16:14:33 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces@gnu.org>)
	id 1rX0fV-0002VH-4M; Mon, 05 Feb 2024 10:13:57 -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 <eliz@gnu.org>) id 1rX0fT-0002Uu-7l
 for emacs-devel@gnu.org; Mon, 05 Feb 2024 10:13:55 -0500
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1rX0fS-0008DY-GP; Mon, 05 Feb 2024 10:13:54 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=PSRW9HcUGUYVaFqnQlnpPZpq1THmcmUaVbnboWxnkCE=; b=C0XQeccIQN9K
 XTCTrKOk61aFKJ6C93SzdKSVU4SafI0Vkbd6d+fAakCxgX4E6h/UxzKl7ATTDwBcNVHlABtymtDaq
 pxoHR5ydeKj8lSwxMYL2uJJrj5x+BD/w9t2h6iIClAM7K4iPC0aUbMnJJnyvcSIa8wI9NGLOn6Oot
 IWPhbki1X7Oqci4M9EStVpc4flig+1mWbDGRI5aKrh8wlzjsFQBzBpqBFGM+MZgXesP7s/2yG0f1L
 T7BRR/dWozbT5Py5Kx19yix9KBEqWMv4DxJkBMCu9SNKQOT5RrsBSlC+cCJ/FUSdIZK3vUwHSoT5q
 WtTkXXxzXumOnevNCoQwgA==;
In-Reply-To: <DU2PR02MB10109F1CBA5F7A8D78A597A5D96472@DU2PR02MB10109.eurprd02.prod.outlook.com>
 (message from Arthur Miller on Mon, 05 Feb 2024 15:30:57 +0100)
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.devel:315897
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/315897>

> From: Arthur Miller <arthur.miller@live.com>
> Date: Mon, 05 Feb 2024 15:30:57 +0100
> 
> To start with, I think none on this mailing list has asked this question
> yet (or have I missed it?): why does it have to be a single form that does all
> of the pattern stuff?

Asked and answered: it doesn't have to be a single form that does all.

> Why this obsession that we have to have one form, be it pcase or cond*, that
> covers all cases of pattern usage in conditions?

There's no obsession.

> My second objection is, as many other stated here; if pcase is that hard,
> resource heavy, and underdocumented, have you considred working to fix problems
> and on the documentation of pcase, perhaps with Stefan?

We are doing that as well.

> I understand the objections to pcase, but I don't understand the answer.

Hopefully, now you understand it better.