From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bob Rogers Newsgroups: gmane.emacs.devel Subject: RE: [External] : Re: Instead of pcase Date: Sat, 16 Dec 2023 10:30:56 -0800 Message-ID: <25981.60640.979482.528976@orion.rgrjr.com> References: <87fs169mjj.fsf@posteo.net> <093f11a1-57c2-5e56-d39b-26fef1c67cbb@gutov.dev> <25942.25061.217864.329049@retriever.mtv.corp.google.com> <87zfzdcz6z.fsf@posteo.net> <87zfza2aq2.fsf@web.de> <7nmsv9zq6u.fsf@ecube.ecubist.org> <7nv89x5tsi.fsf@ecube.ecubist.org> <87o7focuf5.fsf@web.de> <875y1r10jr.fsf@web.de> <87v895iyzy.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10681"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "rms@gnu.org" , "michael_heerdegen@web.de" , "emacs-devel@gnu.org" To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 16 19:31:59 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 1rEZS9-0002Ww-Cr for ged-emacs-devel@m.gmane-mx.org; Sat, 16 Dec 2023 19:31:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEZRL-00030E-AB; Sat, 16 Dec 2023 13:31:07 -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 1rEZRH-0002zj-A9 for emacs-devel@gnu.org; Sat, 16 Dec 2023 13:31:03 -0500 Original-Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rEZRE-000866-DR for emacs-devel@gnu.org; Sat, 16 Dec 2023 13:31:02 -0500 Original-Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-35f3e4ce411so13630365ab.0 for ; Sat, 16 Dec 2023 10:30:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rgrjr-com.20230601.gappssmtp.com; s=20230601; t=1702751459; x=1703356259; darn=gnu.org; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date :message-id:reply-to; bh=VUMkwfkGjVGYPQrmC1BmVQ2/cFCAerZHHVdFMkxwVr0=; b=T1qFmhx/wtNzukBZtEN4DfQ9K9JpkP8t3UaaN+bKxk13yGyFhD/ngrjN4j3EwzbHdd U7TvCsudsKjTWw7cpTV/raOcH/SQ8N1tcXW9bO41OAhO3CsjEx7uuOTvRwyJRmC7Wf2B 8Sx5ZkU8KOgz/Sb4+zjRy2wQm4jLqtHvDQE1Cb/UetrUUXn1heQzQPbr2G1PyEXRtb6/ n5JJCSS/eNEDUdK0F4MPiYxK3LRXOz9PF5twoQaITvTQk8mmf9uex9M3iUb+1mNFSpeB kk8CFyKPPWmZaTPwpO4G4aSQrSYySG6eksYgzY38JplCc83Isb6lxMZWHP9eY8R9C10M +kUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702751459; x=1703356259; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=VUMkwfkGjVGYPQrmC1BmVQ2/cFCAerZHHVdFMkxwVr0=; b=byiCvPGD1cwvE36A+w++8s4BSBcbaOJSJONMI/veNA1C3z1ipnlzE9ZmX044gsRAO8 u3gHFCuzpF+1KGMd8geoN1+HeIlmSPyvPQgyZjsY3TR/bNTFUbok4FF8DdGGGkik6O8B 4w4jZ19R2DBEPSUrVN0Y0ERWlFrMJTgrBSeAHaZmQQfRihPzRTySvP5KHN10jXqyp2aF zrq7DNVWQ6UExaVhzyuCJvzUvCxU43eb/SnXXla0ALWBtsMSR6+hCdsN/22bSnyrPzM4 2rI94mwhgancpLmd/0+MpbAkVqMmPFPeaKjLSsk/tXreP2nU2+3sx5K53OM6Xc6lebDf fmMQ== X-Gm-Message-State: AOJu0YztqHx9UXLvrsByBRB31E/8dJHWapEJ/i9W3zcHL95eTh/WBrSX aOfDMMWWJwZpaH0b6DzdLgrAUg== X-Google-Smtp-Source: AGHT+IEi5uYKA3fQjTcO5IrATSBz4jKs6a8+kXErbM++WRR/L96F2ubNBl4+svEGTFfTy+hqlARUBw== X-Received: by 2002:a05:6e02:1c4b:b0:35d:6e56:3d1 with SMTP id d11-20020a056e021c4b00b0035d6e5603d1mr22298950ilg.6.1702751458847; Sat, 16 Dec 2023 10:30:58 -0800 (PST) Original-Received: from orion.rgrjr.com ([2600:1700:7c2c:e000::22]) by smtp.gmail.com with ESMTPSA id k9-20020a170902c40900b001bc676df6a9sm16147392plk.132.2023.12.16.10.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 10:30:58 -0800 (PST) X-Google-Original-From: Bob Rogers In-Reply-To: X-Mailer: VM 8.2.0b under 30.0.50 (x86_64-pc-linux-gnu) Received-SPF: none client-ip=2607:f8b0:4864:20::130; envelope-from=rogers@rgrjr.com; helo=mail-il1-x130.google.com X-Spam_score_int: -38 X-Spam_score: -3.9 X-Spam_bar: --- X-Spam_report: (-3.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-1.995, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:313875 Archived-At: From: Drew Adams Date: Sat, 16 Dec 2023 05:04:43 +0000 [re cond* fall-through behavior:] > > and (2) maybe even add something syntactic that > > distinguishes them more easily. > > There are many ways to do that. Which would you propose? I don't have a concrete suggestion, but I do think _some_ syntactic indication would help, as opposed to discerning whether there's only one sexp. (Not that that's hard to do, but it that difference doesn't "saute aux yeux".) Suppose clauses only fall through if the last form is the literal symbol :fall-through ? That is wordier and perhaps less elegant, but it would make cond* more consistent with cond, and make the fall-through behavior less apt to surprise. (And apologies if this turns out to be infeasible due to some other constraint; I've only been half following this thread.) -- Bob Rogers http://www.rgrjr.com/