home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp
- Path: sparky!uunet!think.com!linus!linus.mitre.org!starbase!duff
- From: duff@starbase.mitre.org (David A. Duff)
- Subject: Re: Want macro to produce 3 function calls
- Message-ID: <duff.712254841@starbase>
- Sender: news@linus.mitre.org (News Service)
- Nntp-Posting-Host: starbase.mitre.org
- Organization: The MITRE Corporation
- References: <Bs1zz1.E89@news.cso.uiuc.edu>
- Date: Mon, 27 Jul 1992 16:34:01 GMT
- Lines: 14
-
- In <Bs1zz1.E89@news.cso.uiuc.edu> jmrg9881@uxa.cso.uiuc.edu (Jon Reid) writes:
-
- >OK, this LISP beginner needs more help. Here's what I'm trying to do:
-
- >There are 3 functions I call whose parameters are closely related. I'm
- >trying to write a single macro to produce the 3 function calls.
-
- >How can I do this? Every macro I've seen evaluates to *one* list.
-
- (defmacro foo (x y z)
- `(progn (fun-1 ,x)(fun-2 ,y)(fun-3 ,z)))
-
- dave duff mitre corporation 703-883-7731
- duff@mitre.org ai technical center mclean, va usa
-