On Mon, 4 Jul 2005, Richard Fateman wrote:
> (defun foo(x)(declare (special x))
> (bar))
>
> (defun bar() x) ;; since x is special, refers to the DYNAMIC binding of x
> (foo 3) ==> 3
I have not been following this too closely, but the above is Common Lisp:
if there is not global special declamation for X it is _not_ special
within
>
> (defun foo1(x) (bar1))
> (defun bar1() x)
> (foo1 3) ==> error, attempt to take the value of the unbound variable x
>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."