From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Richard Stallman <rms@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: Code for cond*
Date: Sun, 28 Jan 2024 22:19:24 -0500
Message-ID: <E1rUIBA-0007ZG-10@fencepost.gnu.org>
References: <E1rQJDv-0001UG-2E@fencepost.gnu.org>
 <jwvv87kvtey.fsf-monnier+emacs@gnu.org>
 <1AD5807F-91F7-4B92-BCB0-D0FEA904A75D@gmail.com>
 <m3o7daumos.fsf@leonis4.robolove.meer.net>
 <jwvv87hpllx.fsf-monnier+emacs@gnu.org>
 <67B51664-352E-4EB1-AE17-6D571999FDDE@gmail.com>
 <4B3E3A7E-677C-43A2-92B3-562E99A8B897@gmail.com>
Reply-To: rms@gnu.org
Content-Type: text/plain; charset=Utf-8
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="34422"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: monnier@iro.umontreal.ca, enometh@meer.net, emacs-devel@gnu.org
To: JD Smith <jdtsmith@gmail.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 29 04:20:10 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 1rUIBt-0008jL-IX
	for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Jan 2024 04:20:09 +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 1rUIBD-0000HX-Oh; Sun, 28 Jan 2024 22:19:27 -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 <rms@gnu.org>) id 1rUIBB-00009H-Lc
 for emacs-devel@gnu.org; Sun, 28 Jan 2024 22:19:25 -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 <rms@gnu.org>)
 id 1rUIBA-00053c-Mh; Sun, 28 Jan 2024 22:19:24 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From:
 mime-version; bh=qMPeLO8qqA5SfejaLaPOrZfjxc52bVU+EBRQs7rX8R0=; b=BRQkpfCa/7mj
 v91+Z2InQ1KUcxJU0IjpkumJi6GcmgRqD+iaTCAZQzchTdkaxud03jTdLSP0Tk1Ym2o0BANqXVPp9
 vT84j0otWJ879OtpqtMllSX68+/u11XnFx2yVO3YkUm+uUlh5NgXhaWHcf2qAqdn/2zDJeSTfcoz/
 D/86yWQcqA/nGnF+QvjzSa3ZJoht0AcL7xfO+Djdg/pMMUamJmqwD5PJA7FKUVQYkRxfG7H/cvi2a
 E/IPGrJyKij8qwyDnB1RV4E4cED1Kg50bn8PqTVrwQODU82vFlaKhgK9lJygGFdKWJi8YpI3z97NZ
 c/z73029wPs0B64htUw0XQ==;
Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1)
 (envelope-from <rms@gnu.org>)
 id 1rUIBA-0007ZG-10; Sun, 28 Jan 2024 22:19:24 -0500
In-Reply-To: <4B3E3A7E-677C-43A2-92B3-562E99A8B897@gmail.com> (message from JD
 Smith on Thu, 25 Jan 2024 10:37:38 -0500)
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:315576
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/315576>

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > >>   (my-cond
  > >>    (:let var value)
  > >>    (:let dvar (derived-from var))
  > >>    ((has-the-right-stuff-p dvar)
  > >>     (cons 'correct dvar))
  > >> 
  > >>    (:let foo value2)
  > >>    (:let bar (1- foo))
  > >>    ((< bar 0)
  > >>     (cons 'incorrect bar))
  > >> 
  > >>    (t nil))

On Fridat I started looking at something along the same lines.  I sent
two messages about it.  It has the same featurss as cond*, using a
syntax something like the above.

I am eager for people's responses to that idea.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)