Subject: bug#61293: 30.0.50; [FR] Add `proper-list-p' and `plistp' to 2.7 Type Predicates section of the manual

From: Ihor Radchenko <[email-masked]>
Date: Mon, 06 Feb 2023 10:19:14 +0000

Robert Pluim <[email-masked]> writes:

> 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'

This is no different from plists:

(plistp '(1 2 3)) ; => nil
(plist-get '(1 2 3) 1) ; => 2

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>