[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a little problem
- To: firstname.lastname@example.org
- Subject: a little problem
- From: email@example.com
- Date: Thu, 9 Jan 1992 18:28:01 +0100
Hello everybody here,
Happy new year !
I have a question for you, lisp gurus. Perhaps you'll find it too simple,
but it's driving me nuts.
I have a macro that instanciate an object via a side effect:
(defmacro defTree (theTree)
`(setq ,theTree (make-instance 'generic-tree-class))
Now, I want something like defTree* so that I just type:
(defTree* toto titi tata ...)
in order to instanciate toto, titi, tata, ...
The first of you who answers correctly will be declared benefactor of our
lab, and will receive a postcard (just put your surface mail address)
Thanks in advance.
GETA (Groupe d'Etude pour la Traduction Automatique)
BP 53X, 38041 GRENOBLE CEDEX, FRANCE