From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Petteri Hintsanen Newsgroups: gmane.emacs.help Subject: Re: Comparing lists Date: Wed, 13 Sep 2023 18:32:47 +0300 Message-ID: References: <87o7i7g8dq.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24808"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 13 17:34:09 2023 Return-path: Envelope-to: geh-help-gnu-emacs@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 1qgRsX-0006As-N8 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 13 Sep 2023 17:34:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgRrk-0003pb-55; Wed, 13 Sep 2023 11:33:20 -0400 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 1qgRrW-0003hl-Ri for help-gnu-emacs@gnu.org; Wed, 13 Sep 2023 11:33:09 -0400 Original-Received: from mail.kapsi.fi ([2001:67c:1be8::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qgRrR-0004Dx-VY for help-gnu-emacs@gnu.org; Wed, 13 Sep 2023 11:33:04 -0400 Original-Received: from kapsi.fi ([2001:67c:1be8::11] helo=lakka.kapsi.fi) by mail.kapsi.fi with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qgRrE-005KaI-0Y for help-gnu-emacs@gnu.org; Wed, 13 Sep 2023 18:32:48 +0300 Original-Received: from phintsan by lakka.kapsi.fi with local (Exim 4.94.2) (envelope-from ) id 1qgRrD-009Nvp-UK for help-gnu-emacs@gnu.org; Wed, 13 Sep 2023 18:32:47 +0300 In-Reply-To: <87o7i7g8dq.fsf@dataswamp.org> (Emanuel Berg's message of "Tue, 12 Sep 2023 09:26:09 +0200") X-Rspam-Score: -3.1 (---) X-Rspam-Report: Action: no action Symbol: RCVD_TLS_LAST(0.00) Symbol: ARC_NA(0.00) Symbol: BAYES_HAM(-2.98) Symbol: FROM_HAS_DN(0.00) Symbol: R_SPF_NEUTRAL(0.00) Symbol: TO_MATCH_ENVRCPT_ALL(0.00) Symbol: MIME_GOOD(-0.10) Symbol: TO_DN_NONE(0.00) Symbol: DMARC_NA(0.00) Symbol: RCPT_COUNT_ONE(0.00) Symbol: BLOCKLISTDE_FAIL(0.00) Symbol: NEURAL_HAM(0.00) Symbol: FROM_EQ_ENVFROM(0.00) Symbol: R_DKIM_NA(0.00) Symbol: MIME_TRACE(0.00) Symbol: ASN(0.00) Symbol: RCVD_COUNT_TWO(0.00) Symbol: MID_RHS_MATCH_FROM(0.00) Message-ID: x2mo7i63x7k.fsf@iki.fi X-SA-Exim-Connect-IP: 2001:67c:1be8::11 X-SA-Exim-Mail-From: petterih@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Received-SPF: neutral client-ip=2001:67c:1be8::25; envelope-from=petterih@iki.fi; helo=mail.kapsi.fi X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145119 Archived-At: Emanuel Berg writes: > So it is, basically, that data can be (1 2) or (2 1), and they > should be considered the same? Yes. > The more complex the data structure, the more complex the > normalization, or conversely, the more complex the custom > function to check for equality. Right, some kind of sorting or normalization, is typically another way to deal with problems like this. In this case it is seems unappealing, though. Thanks, Petteri