>     (defun addn (n)
>       (lambda (x)
>         (+ x n)))
> 
> And Lisp's "macro language" isn't involved at all here.


(macroexpand-1 '(lambda (x) (+ x n))) => #'(LAMBDA (X) (+ X N))

Also, #' is a read-macro.  Fully expanded the #'(lambda expression
would be

(function (lambda (x) (+ x n)))

Then there's the "defun" macro . . . .

 :-)

-- 
Fred Gilham                                        [EMAIL PROTECTED]
A common sense interpretation of the facts suggests that a
superintellect has monkeyed with physics, as well as with chemistry
and biology, and that there are no blind forces worth speaking about
in nature. --- Fred Hoyle
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to