[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EXPORT (was: Re: new version now at Karlsruhe)
- To: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- Subject: Re: EXPORT (was: Re: new version now at Karlsruhe)
- From: Joachim Schrod <schrod@iti.informatik.th-darmstadt.de>
- Date: Wed, 16 Aug 1995 22:08:21 +0200 (MESZ)
- In-reply-to: <9508161906.AA24406@ilog.ilog.fr> from "Bruno Haible" at Aug 16, 95 09:39:54 pm
Bruno wrote:
>
> > Btw, does anybody know of a more elegant work-around than
> > (export (intern "NAME" 'gi) 'gi)
>
> The DEFPACKAGE macro is meant to solve all those problems that arise
> from putting single EXPORT etc. forms into source files. You have no
> problem if you put the export clause into the DEFPACKAGE form.
> The only ugliness is that you writes string containing the symbol names
> in upper case.
As these forms are actually macro expansions, there is no ugliness as
long as it works. Well, one might argue that the whole macro where I
construct class definitions, method definitions, property lists,
etc., from one macro is butt-ugly, but that's another point. :-)
Thanks for this hint,
Joachim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Joachim Schrod Email: schrod@iti.informatik.th-darmstadt.de
Computer Science Department
Technical University of Darmstadt, Germany