Subject: Re: parameters with &aux
From: Erik Naggum <erik@naggum.net>
Date: 2000/12/07
Newsgroups: comp.lang.lisp
Message-ID: <3185184845826819@naggum.net>

* "Montse" <montse@issnet.net>
| I don´t know how work parameters in lisp with &aux before their
| example  (defun view (p1 p2 &aux r1 r2) ..
| and I don´t know they work.
| 
| I need know this for understand a problem,
| 
| Can help me somebody and explain how they work??

  They are just like let-bindings in the function body.

(defun view (p1 p2 &aux r1 r2)
  ...)

  is functionally identical to

(defun view (p1 p2)
  (let (r1 r2)
    ..))

#:Erik
-- 
  "When you are having a bad day and it seems like everybody is trying
   to piss you off, remember that it takes 42 muscles to produce a
   frown, but only 4 muscles to work the trigger of a good sniper rifle."
								-- Unknown