emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no empty (zero) string predicate in Elisp


From: Bozhidar Batsov
Subject: Re: no empty (zero) string predicate in Elisp
Date: Sat, 16 May 2015 16:28:32 +0300

Btw, `string-reverse` was already obsoleted by `reverse`. 

On 16 May 2015 at 16:22, Bozhidar Batsov <address@hidden> wrote:
I'd advise against this, as my intuition would always be to search for something starting with `string-` when dealing with strings. 

On 16 May 2015 at 12:23, Nicolas Petton <address@hidden> wrote:

Nicolas Petton writes:

> You can use `string-empty-p' from subr-x.el or `seq-empty-p' from
> seq.el (which works on all sequence data types).
>
> seq.el will be included in Emacs 25.1, but in the meantime you can
> install it from GNU Elpa.

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?

Nico
--
Nicolas Petton
http://nicolas-petton.fr



reply via email to

[Prev in Thread] Current Thread [Next in Thread]