[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 18:26:08 +0100 |
>>>>> On Thu, 23 Jan 2025 17:16:12 +0200, Eli Zaretskii <eliz@gnu.org> said:
>>
>> Then where do we put the explanations about things to look out for
>> when using arrays with "map.el"?
Eli> What things?
Arrays inherently canʼt grow or shrink, so if you do
(setq x (map-delete [a b c] 2))
then
(map-contains-key x 2) => t
which is counterintuitive for a data structure that purports to map
keys to values.
Robert
--
- Re: map.el documentation, (continued)
- Re: map.el documentation, Arash Esbati, 2025/01/23
- Re: map.el documentation, Robert Pluim, 2025/01/23
- Re: map.el documentation, Arash Esbati, 2025/01/23
- Re: map.el documentation, Robert Pluim, 2025/01/23
- Re: map.el documentation, Eli Zaretskii, 2025/01/23
- Re: map.el documentation, Robert Pluim, 2025/01/23
- Re: map.el documentation, Eli Zaretskii, 2025/01/23
- Re: map.el documentation,
Robert Pluim <=
- Re: map.el documentation, Eli Zaretskii, 2025/01/23