From ... From: Erik Naggum Subject: Re: Why use slot names at all? (was Re: tresspassing) Date: 1998/05/07 Message-ID: <3103526667033820@naggum.no>#1/1 X-Deja-AN: 351064922 References: <19980505164742.12206.qmail@nym.alias.net> mail-copies-to: never Organization: Naggum Software; +47 8800 8879; http://www.naggum.no Newsgroups: comp.lang.lisp * Antonio Leitao | Now, I would like to add a related topic, namely the use of structures (a | la defstruct). When we use a defstruct, we get automatically defined | accessors and we simply use those accessors to manipulate the structure. | We know that an "instance" of a defstruct is just a vector, so we can | access the slots using aref. * Rainer Joswig | This does work only in your particular implementation of CL | and is not part of ANSI CL. well... you can tell DEFSTRUCT you want a vector representation. #:Erik -- Support organized crime: use Microsoft products!