unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: 52383@debbugs.gnu.org
Subject: bug#52383: 29.0.50; [suggestion] Add seq-set-subset-p to seq.el
Date: Thu, 09 Dec 2021 21:21:14 +0100	[thread overview]
Message-ID: <87wnkda5s5.fsf@gmail.com> (raw)
In-Reply-To: <86y24utam5.fsf@mail.linkov.net> (Juri Linkov's message of "Thu,  09 Dec 2021 11:01:54 +0200")

Juri Linkov <juri@linkov.net> writes:

>> BTW function `seq-set-equal-p' could be rewritten using
>> `seq-set-subset-p'.
>
> Isn't the word "set" redundant in the name?
> In `seq-set-equal-p' the word "set" is needed
> to say "is set equal".  But in `seq-set-subset-p'
> the word "set" doesn't add much meaning, so better
> would be to name your new function just `seq-subset-p'.

Agreed.

The motivation for the suggested name `seq-set-subset-p' was to stay
close to the name `seq-set-equal-p'.  A user could interpret the prefix
"seq-set" as hint that the function implements a set operation.


Thanks!





  reply	other threads:[~2021-12-09 20:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09  0:55 bug#52383: 29.0.50; [suggestion] Add seq-set-subset-p to seq.el Marco Wahl
2021-12-09  9:01 ` Juri Linkov
2021-12-09 20:21   ` Marco Wahl [this message]
2021-12-09 20:29     ` Juri Linkov
2021-12-09 21:23       ` Marco Wahl
2021-12-10  1:45 ` Michael Heerdegen
2021-12-10 12:01   ` Lars Ingebrigtsen
2021-12-11 18:40     ` Juri Linkov
2021-12-12  1:19       ` Michael Heerdegen
2021-12-12  4:57         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnkda5s5.fsf@gmail.com \
    --to=marcowahlsoft@gmail.com \
    --cc=52383@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).