Re: mv quasi-quotation
From: Paul F. Dietz (dietz_at_dls.net)
Date: 01/26/05
- Next message: Florian Weimer: "Re: A non-consing arbitrary number of multiple return values?"
- Previous message: ljw1001_at_gmail.com: "Re: Lisp or Smalltalk for Specific Suicide Mission (er...Project)?"
- In reply to: Christophe Turle: "Re: mv quasi-quotation"
- Next in thread: Harald Hanche-Olsen: "Re: mv quasi-quotation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Jan 2005 06:22:52 -0600
Christophe Turle wrote:
> 1- Efficiency : is the compiler smart enough to not build unneeded lists.
Efficiency in backquoted forms almost never matters. I use ,@ almost
exclusively vs. ,. since I don't want to waste time debugging sharing
problems.
> 2- how to reduce the typing ? can a reader macro-character expands to
> ,@(multiple-value-list ...)
> It's a shame that ` has no standard list form like in Scheme.
(defmacro mvl (form) `(multiple-value-list ,form))
... ,@(mvl (values ...)) ...
Paul
- Next message: Florian Weimer: "Re: A non-consing arbitrary number of multiple return values?"
- Previous message: ljw1001_at_gmail.com: "Re: Lisp or Smalltalk for Specific Suicide Mission (er...Project)?"
- In reply to: Christophe Turle: "Re: mv quasi-quotation"
- Next in thread: Harald Hanche-Olsen: "Re: mv quasi-quotation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]