[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to populate a property list?
From: |
Hattuari |
Subject: |
Re: How to populate a property list? |
Date: |
Wed, 27 Oct 2004 16:38:48 -0400 |
User-agent: |
KNode/0.8.1 |
Thien-Thi Nguyen wrote:
> Hattuari <susudata@setidava.kushan.aa> writes:
>
>> adding the members of a property list
>> in pairwise fashion?
>
> invest in some problem-specific abstraction now and you will be able
> to switch to another implementation (e.g., hash tables) later, simply.
> a side benefit is the conciseness you seek.
>
> thi
I don't believe hash tables are the correct data structure for my problem.
I believe property lists are the logically most correct in terms of
mapping. The may, however, not be the easiest to work with. This is the
kind of solution I was seeking:
(setq gl-type-map ())
(setq gl-type-map
(apply 'append
'((GLbyte b)
(GLshort s)
(GLint i)
(GLsizei i)
(GLfloat f)
(GLclampf f)
(GLdouble d)
(GLclampd d)
(GLubyte ub)
(GLboolean ub)
(GLushort us)
(GLuint ui)
(GLenum ui)
(GLbitfield ui))))
--
p->m == (*p).m == p[0].m
- How to populate a property list?, Hattuari, 2004/10/26
- Re: How to populate a property list?, Thien-Thi Nguyen, 2004/10/26
- Re: How to populate a property list?,
Hattuari <=
- Re: How to populate a property list?, Kevin Rodgers, 2004/10/26
- Re: How to populate a property list?, Hattuari, 2004/10/30
- Re: How to populate a property list?, Thien-Thi Nguyen, 2004/10/30
- Re: How to populate a property list?, Hattuari, 2004/10/30
- Re: How to populate a property list?, Thien-Thi Nguyen, 2004/10/30
- Re: How to populate a property list?, Hattuari, 2004/10/31
- Re: How to populate a property list?, Thien-Thi Nguyen, 2004/10/31
- Re: How to populate a property list?, Hattuari, 2004/10/31
Re: How to populate a property list?, Kai Grossjohann, 2004/10/31