Re: Macros: returning multiple lists
From: Thomas A. Russ (tar_at_sevak.isi.edu)
Date: 03/01/05
- Next message: Dave Roberts: "Re: why not enough lisp libraries?"
- Previous message: Alan Shutko: "Re: why not enough lisp libraries?"
- In reply to: Rene de Visser: "Macros: returning multiple lists"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 01 Mar 2005 09:47:59 -0800
The standard mechanism to have multiple forms returned from macros is to
enclose them in a PROGN. That assumes, of course, that you want the
forms to execute for side effects rather than value. If you want value,
then you pretty much have to make a list of them and apply any other
external-to-the-macro operations to that list.
-- Thomas A. Russ, USC/Information Sciences Institute
- Next message: Dave Roberts: "Re: why not enough lisp libraries?"
- Previous message: Alan Shutko: "Re: why not enough lisp libraries?"
- In reply to: Rene de Visser: "Macros: returning multiple lists"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|