[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt
From: |
Stefan Monnier |
Subject: |
bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt |
Date: |
Tue, 21 Mar 2017 16:29:46 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
>> I was thinking of providing map-remove additionally to map-delete (and
>> make map-delete signal an error when it can't do its job). IOW declare
>> that some parts of the API can't be used with all types.
> Yes, that's what I want as well, but then `map-remove' would be
> functional (return another map), and it means that it would copy
> hash-tables.
That's right. Or it could signal an error, if copying is considered to
be "never the right thing to do".
Stefan
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, (continued)
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Stefan Monnier, 2017/03/22
- bug#25929: 25.2; plists and map-*, Lars Ingebrigtsen, 2017/03/29
- bug#25929: 25.2; plists and map-*, Nicolas Petton, 2017/03/29
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Nicolas Petton, 2017/03/21
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Stefan Monnier, 2017/03/21
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Nicolas Petton, 2017/03/21
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt,
Stefan Monnier <=