Variable: set:equal-op
set:equal-op is a variable defined in set.el.
Value
equal
Documentation
Comparison function used by set operators.
It must be a function of two arguments which returns non-nil only when the arguments are equivalent.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/set.el
;;; set.el --- General mathematical operators for unordered sets -*- lexical-binding: t; -*-
;;
;; Author: Bob Weiner
;;
;; Orig-Date: 26-Sep-91 at 19:24:19
;; Last-Mod: 18-Feb-24 at 12:51:49 by Mats Lidell
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
;; Copyright (C) 1991-2024 Free Software Foundation, Inc.
;; See the "HY-COPY" file for license information.
;;
;; This file is part of GNU Hyperbole.
;;; Commentary:
;;
;; All set operations herein work with sets of arbitrary Lisp objects,
;; including strings. By default, they use `equal' for comparisons
;; but this may be overidden by changing the function bound to
;; the `set:equal-op' variable. The empty set is equivalent to nil.
;; (set:create) creates an empty set and (set:add 'element nil) creates
;; a new set with the single member, 'element.
;;; Code:
;; ************************************************************************
;; Public variables
;; ************************************************************************
(defvar set:equal-op 'equal
"Comparison function used by set operators.
It must be a function of two arguments which returns non-nil only when
the arguments are equivalent.")