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: Comparing hash table objects Date: Fri, 10 Jun 2022 18:45:20 -0400 Message-ID: References: <871qvz4kdw.fsf@localhost> <87leu7tsyc.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="31466"; mail-complaints-to="usenet@ciao.gmane.io" Cc: schwab@suse.de, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 11 00:46:42 2022 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 1nznOs-0007zJ-Hb for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Jun 2022 00:46:42 +0200 Original-Received: from localhost ([::1]:50740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nznOq-0001JJ-T2 for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Jun 2022 18:46:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nznNa-0007wn-BE for emacs-devel@gnu.org; Fri, 10 Jun 2022 18:45:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41500) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nznNZ-00087r-K4; Fri, 10 Jun 2022 18:45:21 -0400 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=535P8KqroCrYGrkitH0kN4Kj/8ARqm8JMRxxeF2yZos=; b=DXSm8yCUGHEG 61jWR0L5uk1DRbMLEHaIct0LvNzf8XOl/5qvGJe2bDP3lBf5KZefDPYfxfqv2P3B9KYybDeJM6IPU qJLM4I2v7gJWSYcIHCbwzQTkebFJUsAlc5bITfiooeN/LCx4N4I+FvJDuDWKlEmzBCllUAA5qXYIH +jzCPZwl3VJAeVSokGFftpW+6rJxsT06MGi/hjmYkB32CuBhWZaC8eAaUW21N66UFRXx6nj4sWyWq oseFslFAq2LnBL5KcQoQoz0cJXACnMfkBnFFAsJf8fS5PAQW5JOpu3fpkuJpX7QHhkhWDWWW6Zqnd IF/r/qT+ujN7+R/wOpzLeg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1nznNY-0008R6-Tb; Fri, 10 Jun 2022 18:45:21 -0400 In-Reply-To: <87leu7tsyc.fsf@localhost> (message from Ihor Radchenko on Wed, 08 Jun 2022 17:17:31 +0800) 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" Xref: news.gmane.io gmane.emacs.devel:291010 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. ]]] It clearly can be useful to compare hash tables for equivalence of contents. I see two ways to offer that facility: * As a new function. That would be upward-compatible. * By making `equal' compare them that way. That would fit the spirit of `equal', but could break some existing uses of `equal'. -- 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)