emacs-devel
[Top][All Lists]
Advanced

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

Re: map.el documentation


From: Robert Pluim
Subject: Re: map.el documentation
Date: Thu, 23 Jan 2025 14:58:01 +0100

>>>>> On Thu, 23 Jan 2025 14:45:59 +0100, Arash Esbati <arash@gnu.org> said:


    Arash> Maybe Someoneâ„¢ who's touching the docstrings can consider this :-)

đŸ˜º

The docstrings need to mention the idiosyncracies when using vectors
as well, eg

ELISP> (map-contains-key (map-delete [a b c] 2) 2)
t

ELISP> (map-insert [a b c] 3 5)
*** Eval error ***  Args out of range: [a b c], 3

Iʼm failing to see why vectors are covered by "map.el", they donʼt
really fit as a key->value data type. Just using `aref' etc is fine
for them.

Robert
-- 



reply via email to

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