[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Property list key names

From: Juanma Barranquero
Subject: Re: Property list key names
Date: Sat, 9 Aug 2008 17:07:47 +0200

On Sat, Aug 9, 2008 at 17:02, Lennart Borgman (gmail)
<address@hidden> wrote:

> But I learned something ;-)

Yes. That I am an idiot...

(defun  property-list-keys (plist)
 (let ((c 0))
   (remove-if #'(lambda (ignore) (evenp (incf c))) plist)))

Much simpler.

BTW, the only "advantage" of my version is that the keys are returned in order.


reply via email to

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