[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

But really, it's a matter of style.

reply via email to

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