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: Instead of pcase Date: Sun, 07 Jan 2024 22:47:24 -0500 Message-ID: References: <878r5inysw.fsf@localhost> <878r5ewk81.fsf@localhost> <87h6jxm8d4.fsf@localhost> <87a5pm762w.fsf@localhost> <874jfqwr2r.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="3992"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 08 04:47:57 2024 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 1rMgcG-0000oY-Io for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Jan 2024 04:47:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMgbm-0001di-Nr; Sun, 07 Jan 2024 22:47:26 -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 1rMgbk-0001cj-Lc for emacs-devel@gnu.org; Sun, 07 Jan 2024 22:47:24 -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 1rMgbk-000467-DT; Sun, 07 Jan 2024 22:47: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=o3S3G7E6BYZmP5mlej7gvQYX2IJlrgWC4nK42/lXAHQ=; b=kvodwQVd1G9T WWfDH2iW89BiU7Qmh1AIK+IGumCIffO0XuxiR8Fp53LQjf6wcE1690dydhmnF58Fs+KhhEiL0QYfJ 9PlOJkmcDt2nsbQhe1XMeZBDg3rhwS/Dl1V/JnAxUX6f4+EjSPTL9G0j+W25S5DGbQZ5sS3eJLAti QwL0+Ra8mXUlgSXTWJLGt9mi89pRyEY92O3ens++9UbsevrS4D1W4iD3LHPiCcsZVjhZqKD18w8y8 NJEk7vksXqhdnSB8KtFT2xKR0zeo4d0KuB6bFcQiVf8JjNsEeOYEm96yNAM/k7RP5SPCtHtHZGd5U wgznJautKFn6JcyNphdNJg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rMgbk-0002nB-4P; Sun, 07 Jan 2024 22:47:24 -0500 In-Reply-To: <874jfqwr2r.fsf@localhost> (message from Ihor Radchenko on Sat, 06 Jan 2024 13:04:44 +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:314728 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. ]]] > > I wonder why people defined `xor'. It can't be used > > as a conditional, like `and' and `or', so what is the point of it? > `xor' can be used as conditional Perhaps we are miscommunicating. `or' and `and' can act as conditionals. (and X Y) says to do Y if X is true. (or X Y) says to do Y if X is false. That is why those constructs are useful. `xor' can'e be used as a conditional, because all of the arguments of `xor' must always be evaluatedd. -- 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)