Fred Gilham gilham at
Tue Mar 15 20:08:35 CET 2005

>     (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                                        gilham at
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

More information about the Python-list mailing list