From: Pierre JOUVELOT
Subject: DEFSTRUCT and EXPORT
Date:
Message-ID: <488@litp.UUCP>
Hi,
I'm trying to define a bunch of DEFSTRUCT in a given package (let's say :FOO).
I'm having some difficulties exporting all the functions (creation, access,
and SETF methods) that are created by DEFSTRUCT.
The current trick is to perform a DO-SYMBOLS on :FOO and to EXPORT all the
symbols that are :INTERNAL in it (there is nothing else in the :FOO
package). That sort of works but, first this is ugly and, second I still
have to specify the :FOO package when I want to use SETF to modify
a member in a structure (at least in my Allegro CommonLISP from Franz).
Am I plainly wrong and there is a better way, or is this a shortcoming
of DEFSTRUCT ?
Thanks in advance,
Pierre
--
Pierre Jouvelot
Centre d'Automatique et Informatique
Ecole des Mines
60, bvd St-Michel
75272 PARIS
France
ARPA: ········@XX.LCS.MIT.EDU
BITNET: ········@FREMP11
USENET: ...mcvax!litp!pj
Tph: 64.22.48.21 (Work)
45.43.85.67 (Home)