emacs-devel
[Top][All Lists]
Advanced

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

Re: Predicate for true lists


From: Eli Zaretskii
Subject: Re: Predicate for true lists
Date: Sat, 07 Jul 2018 09:54:42 +0300

> Date: Fri, 6 Jul 2018 11:00:43 -0700 (PDT)
> From: Drew Adams <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> 
> > > IIRC, the main motivation for adding this function was
> > > to provide a predicate for testing properness.
> > 
> > Then I'd prefer calling the function proper-list-p (and returning the
> > list length when it's a proper list) than the other way around.
> 
> Then discoverability of the use for length is reduced.

Not if we state in the doc string that the value returned for proper
lists is the list length.



reply via email to

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