From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#26540: 25.2; [PATCH] Add cl-set-equal to test for set equality Date: Mon, 17 Apr 2017 06:55:20 -0700 (PDT) Message-ID: <9502fe98-aed5-4474-aaed-5e88d5c1cd6f@default> References: <87bmrve6n9.fsf@cassou.me> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1492437371 7481 195.159.176.226 (17 Apr 2017 13:56:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Apr 2017 13:56:11 +0000 (UTC) To: Damien Cassou , 26540@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 17 15:56:05 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d078O-0001o6-NE for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Apr 2017 15:56:04 +0200 Original-Received: from localhost ([::1]:36727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d078U-0005Kd-OP for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Apr 2017 09:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d078P-0005KX-7i for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2017 09:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d078M-0000xI-6r for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2017 09:56:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54357) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d078M-0000xD-2f for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2017 09:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d078L-0005nn-SS for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2017 09:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Apr 2017 13:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26540 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 26540-submit@debbugs.gnu.org id=B26540.149243734522289 (code B ref 26540); Mon, 17 Apr 2017 13:56:01 +0000 Original-Received: (at 26540) by debbugs.gnu.org; 17 Apr 2017 13:55:45 +0000 Original-Received: from localhost ([127.0.0.1]:52556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0784-0005nR-Rl for submit@debbugs.gnu.org; Mon, 17 Apr 2017 09:55:45 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:36876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0782-0005nK-OS for 26540@debbugs.gnu.org; Mon, 17 Apr 2017 09:55:43 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3HDtOjV014024 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 17 Apr 2017 13:55:25 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v3HDtOt3011498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 17 Apr 2017 13:55:24 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v3HDtLSA005908; Mon, 17 Apr 2017 13:55:22 GMT In-Reply-To: <87bmrve6n9.fsf@cassou.me> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6767.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131690 Archived-At: > This patch adds cl-seq-equal to test whether two lists have the > same elements. I.e., if every element of LIST1 also appears in > LIST2 and if every element of LIST2 also appears in LIST1. Common Lisp (and the Emacs emulation) already has set functions that do this - `[cl-]set-exclusive-or', for example. https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node152.html