Subject: Re: Passing through multiple parameters
From: (Rob Warnock)
Date: Sat, 20 May 2006 22:45:02 -0500
Newsgroups: comp.lang.lisp
Message-ID: <>
Foxpointe  <> wrote:
| there a more efficient way to do the following without needing 
| first/second/third/etc:
| (let ((ssparms `("want second item" 5 11)))
|    (subseq (first ssparms) (second ssparms) (third ssparms)))

Not sure about "more efficient" [that will depend on the specific
implementation, whether your code's compiled, etc.], but a more
idiomatic [and simpler] way, yes:

    (destructuring-bind (string start end)
	`("want second item" 5 11)
      (subseq string start end))


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607