[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: One more question about elisp
From: |
Francis Moreau |
Subject: |
Re: One more question about elisp |
Date: |
Fri, 06 Nov 2009 21:59:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Joost Kremers <joostkremers@yahoo.com> writes:
> Francis Moreau wrote:
>> I'm now wondering what is the elisp way to create structured objects
>> and how to access them later.
>
> in the cl package, there is defstruct, which does basically what your
> C-example does:
>
> (defstruct person
> (age)
> (name))
Actually I'm not trying to do elisp the C way, I'm just wondering the
usual/right way to do this in elisp.
> if you don't want to use that, elisp has hash tables and alists, which
> are discussed in the elisp manual.
So alist, hashmap ... ?
Thanks
--
Francis
- One more question about elisp, Francis Moreau, 2009/11/06
- Re: One more question about elisp, Joost Kremers, 2009/11/06
- Re: One more question about elisp,
Francis Moreau <=
- Re: One more question about elisp, Pascal J. Bourguignon, 2009/11/06
- Re: One more question about elisp, Stefan Monnier, 2009/11/06
- Re: One more question about elisp, Francis Moreau, 2009/11/08
- Re: One more question about elisp, Pascal J. Bourguignon, 2009/11/08
- Re: One more question about elisp, Francis Moreau, 2009/11/09
- Re: One more question about elisp, Stefan Monnier, 2009/11/08
Re: One more question about elisp, Xah Lee, 2009/11/07