unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Nicolas Petton <nicolas@petton.fr>
Cc: help-gnu-emacs@gnu.org, Emanuel Berg <embe8573@student.uu.se>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: no empty (zero) string predicate in Elisp
Date: Sat, 16 May 2015 09:43:44 -0400	[thread overview]
Message-ID: <jwvwq08r65z.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87a8x4ub83.fsf@blueberry.home> (Nicolas Petton's message of "Sat, 16 May 2015 11:23:56 +0200")

> BTW, would it be wise to obsolete `string-reverse' and `string-empty-p'
> From subr-x in favor of `seq-reverse' and `seq-empty-p' which are much
> more generic?

string-reverse i already marked as obsolete.  As for string-empty-p, I'm
not sure, because it depends on whether you care about the fact that the
arg is a string (e.g. you care about the fact that (string-empty-p nil)
is nil rather than (seq-empty-p nil) being t).


        Stefan



  parent reply	other threads:[~2015-05-16 13:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87h9s4rhx5.fsf@debian.uxu>
     [not found] ` <87wq107e40.fsf@petton.fr>
2015-05-16  9:23   ` no empty (zero) string predicate in Elisp Nicolas Petton
2015-05-16 13:22     ` Bozhidar Batsov
2015-05-16 13:28       ` Bozhidar Batsov
2015-05-16 13:36         ` Bozhidar Batsov
2015-05-16 13:46           ` Eli Zaretskii
2015-05-16 16:17             ` Bozhidar Batsov
2015-05-16 13:43     ` Stefan Monnier [this message]
2015-05-16 15:27     ` Drew Adams

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=jwvwq08r65z.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nicolas@petton.fr \
    /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).