[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25929: 25.2; plists and map-*
From: |
Lars Ingebrigtsen |
Subject: |
bug#25929: 25.2; plists and map-* |
Date: |
Wed, 29 Mar 2017 17:25:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
A thing just occurred to me: Does the map-* functions work for plists,
too? plists are, like, the fourth major mapping structure we have in
Lisp.
Wouldn't it be easy to extend map-* to handle plists, too? For
instance, map-delete (of course) knows whether it's looking at a hash
table or an array, but it can also easily distinguish between an alist
and a plist by just looking at the first element, can't it?
It's a bit hacky, though. But might be nice.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- 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, Lars Ingebrigtsen, 2017/03/21
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Michael Heerdegen, 2017/03/22
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Lars Ingebrigtsen, 2017/03/22
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Noam Postavsky, 2017/03/22
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Lars Ingebrigtsen, 2017/03/22
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Michael Heerdegen, 2017/03/22
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Stefan Monnier, 2017/03/22
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Lars Ingebrigtsen, 2017/03/22
- bug#25929: 25.2; map-delete doesn't delete permanently 1st alist elt, Stefan Monnier, 2017/03/22
- 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 <=
- 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, 2017/03/21