[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.
Re: Predicate for true lists, Paul Eggert, 2018/07/06
- Re: Predicate for true lists, Eli Zaretskii, 2018/07/07
- Re: Predicate for true lists, martin rudalics, 2018/07/07
- Re: Predicate for true lists, Paul Eggert, 2018/07/07
- Re: Predicate for true lists, Eli Zaretskii, 2018/07/07
- Re: Predicate for true lists, Basil L. Contovounesios, 2018/07/07
- Re: Predicate for true lists, Eli Zaretskii, 2018/07/07
- Re: Predicate for true lists, Basil L. Contovounesios, 2018/07/07
- Re: Predicate for true lists, Eli Zaretskii, 2018/07/07