emacs-devel
[Top][All Lists]
Advanced

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

Re: Predicate for true lists


From: Paul Eggert
Subject: Re: Predicate for true lists
Date: Fri, 6 Jul 2018 11:04:55 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Eli Zaretskii wrote:
Do we really want this usage of the function as a predicate?  I find
this slightly unnatural,

Me too, but we haven't come up with a better function semantics, so let's just live with them. I don't care whether the function is called proper-list-length or proper-list-p. (As Drew mentioned, we could have both names.)

and also not future-proof enough, because you
rely on the checks 'length' does internally.

I see now that those checks of 'length' were documented incorrectly, so I installed the attached documentation fix into the emacs-26 branch. It should be OK to rely on these checks (after all, they're documented correctly now :-).

Attachment: 0001-Fix-length-CIRCULAR-documentation.patch
Description: Text Data


reply via email to

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