help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to populate a property list?


From: Kevin Rodgers
Subject: Re: How to populate a property list?
Date: Tue, 26 Oct 2004 09:24:05 -0600
User-agent: Mozilla Thunderbird 0.8 (X11/20040916)

Hattuari wrote:
> Suppose I have a collection of key values pairs as follows:
>
> char  c
> short s
> int   i
> long  l
>
> I want to put them in a property list.  I can do this:

Why a property list instead of an association list?

(setq type-map
      '((char . c)
        (short . s)
        (int . i)
        (long . l)))

--
Kevin Rodgers


reply via email to

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