[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Replacement for `aput' from obsolete assoc.el?
From: |
Stephen J. Turnbull |
Subject: |
Re: Replacement for `aput' from obsolete assoc.el? |
Date: |
Sun, 10 Jun 2012 22:48:43 +0900 |
Stefan Monnier writes:
> I didn't see much ion their which addresses the issue of setting
> elements in plists (other than plist-put which doesn't seem to be
> significantly better than (push (cons a b) c)).
Multiple pair updates? As Drew points out, a plist can be treated
like a stack in the same way as an alist. For lax plists, `nconc'
works, and if you need a true plist, canonicalize-lax-plist is
efficient.
But really, it's a matter of style.
- Re: Replacement for `aput' from obsolete assoc.el?, (continued)
- RE: Replacement for `aput' from obsolete assoc.el?, Drew Adams, 2012/06/09
- RE: Replacement for `aput' from obsolete assoc.el?, Drew Adams, 2012/06/09
- Re: Replacement for `aput' from obsolete assoc.el?, Vitalie Spinu, 2012/06/09
- Re: Replacement for `aput' from obsolete assoc.el?, Stephen J. Turnbull, 2012/06/10
- RE: Replacement for `aput' from obsolete assoc.el?, Drew Adams, 2012/06/09
- Re: Replacement for `aput' from obsolete assoc.el?, Stefan Monnier, 2012/06/09
- Re: Replacement for `aput' from obsolete assoc.el?,
Stephen J. Turnbull <=