From: Marco Antoniotti
Subject: Re: defstruct
Date: 
Message-ID: <MARCOXA.95Nov7093801@lox.icsi.berkeley.edu>
In article <·························@ip-pdx02-49.teleport.com> ········@teleport.com (David B. Lamkins) writes:


   From: ········@teleport.com (David B. Lamkins)
   Newsgroups: comp.lang.lisp
   Date: Fri, 03 Nov 1995 07:39:59 -0800
   Organization: Teleport - Portland's Public Access (503) 220-1016
   Lines: 15
   References: <··································@stkm06.alcatel.no>

   In article <··································@stkm06.alcatel.no>,
   ·················@alcatel.no (Jean-Marc PEZERET) wrote:

   > 1) Who could tell me how to access the slot names of a structure
   > in common-lisp ?

   There's no portable way to do this.  You need to dig into the guts of your
   implementation.  Hint: if you can locate the source code for GBB (UMass's
   Generic BlackBoard), it has code to access structure slots by name for
   several Lisp implementations.

Isn't this in the FAQ?

BTW. The MOP solution is the cleanest. Of course you need the MOP :)

Cheers

-- 
Marco Antoniotti - Resistente Umano
===============================================================================
International Computer Science Institute	| ·······@icsi.berkeley.edu
1947 Center STR, Suite 600			|
Berkeley, CA, 94704-1198, USA			| tel. +1 (510) 643 9153
===============================================================================
	...it is simplicity that is difficult to make.
	...e` la semplicita` che e` difficile a farsi.
				Bertholdt Brecht