Thomas A. Russ <tar@sevak.isi.edu> wrote:
+---------------
| vippstar <vippstar@gmail.com> writes:
| > (defun my-car2 (list) (temporarily *list* list (my-car)))
|
| Again, this is already the normal function of LET binding of global
| variables. You would just write
|
| (defun my-car2 (list)
| (let ((*list* list))
| (my-car)))
|
| and you would be done. Common Lisp already has a lot of this flexibilty
| already built in.
+---------------
Even simpler: ;-}
(defun my-car2 (*list*)
(my-car))
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607