bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#61293: 30.0.50; [FR] Add `proper-list-p' and `plistp' to 2.7 Type Pr


From: Robert Pluim
Subject: bug#61293: 30.0.50; [FR] Add `proper-list-p' and `plistp' to 2.7 Type Predicates section of the manual
Date: Mon, 06 Feb 2023 10:20:36 +0100

>>>>> On Sun, 05 Feb 2023 15:02:05 +0200, Eli Zaretskii <eliz@gnu.org> said:
    >> I mostly expected it is exist, but it does not.
    >> Also, there is `nested-alist-p'. So, not having `alistp' feels awkward.

    Eli> Most probably because no one needed it, at least not too frequently.

One point here: Emacs allows 'improper' alists without complaining:

(alist-get 1 '((2 . 4)
               5
               (3 . 1)
               (1 . 7)))

=> 7

so weʼd have to be careful about how we defined `alistp'

Robert
-- 





reply via email to

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