From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: cond* Date: Sat, 23 Dec 2023 22:57:10 -0500 Message-ID: References: <87y1dnlk7o.fsf@localhost> 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="6396"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 24 04:57:58 2023 Return-path: 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 ) id 1rHFcj-0001Us-5r for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Dec 2023 04:57:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHFcH-0003PT-Dx; Sat, 23 Dec 2023 22:57:29 -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 ) id 1rHFcD-0003MJ-EW for emacs-devel@gnu.org; Sat, 23 Dec 2023 22:57: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 ) id 1rHFcB-0004hH-QC; Sat, 23 Dec 2023 22:57:25 -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=UO+gkC3ixGw/kIDDxTGpongNufUU5JdNZT5C6Ioj40E=; b=Ub/h94x/yzMn xXF/4HOtH8Z9ZGiD13fUDt4ScuP59IQq0BNzX6OyLZEv5rAz7HGa46BeM34aFf5q54Bzw33fT4j2m TJCg/q7bnSdi/iG00tWvz4utTxXUg5xpUe3GDxPMtpLaMmfd3zcnSQlaU/+oKT3uBsyNANfCQWiiU v8B8At4XkPf5hpzm7Le7fDFRU2XnewGZ8hv2FoGSwfhkFINRzsf+smibkPpNe+7mUC9iLPH2Fasj+ IC+MxLvwXsM0uEQtVpIiIHsXvo3EUuEfxho5dA4f/sc8esqnAw9+rgePTqj3VL+ns0vstLOT9hko2 0goVoIu6mfaXMJr7doAfRw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rHFby-0000m4-Ez; Sat, 23 Dec 2023 22:57:17 -0500 In-Reply-To: <87y1dnlk7o.fsf@localhost> (message from Ihor Radchenko on Thu, 21 Dec 2023 14:10:51 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-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:314111 Archived-At: [[[ 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. ]]] > This may be confusing. Consider > (let ((somenumber 2) (form '(10))) > (cond* > ((match* `(,(> (+ somenumber form-car-value) 3))) form) > )) This tries to use (> (+ somenumber form-car-value) 3) as a constrained variable, but it is not valid as one. In a constrained variable, the first argument of the predicate function is supposed to be a pattern to match. It can't be an expression such as (+ somenumber form-car-value). Yesterday I rewrote the documentation of constrained variables and sent that to the list. Does that version make this clear? -- 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)