(lambda (ARG1 ...) EXPR1 ... EXPRN)
((lambda (arg) (+ 1 arg))
2)
. In this example, the value of the entire expression would be 3. In
general, the value of the call will be the value of EXPRN. The
first list serves to define formal parameters. The lambda expression
itself is just a list, starting with the key-word lambda, followed by
several quoted lists. See (defun ...)
.
See (setq ...)
. See (let ...)
.
Note the argument list may contain the special keywords
&optional
nil
&rest
((lambda (&rest rest) (echo rest)) a b c d)
The output would be (a b c d)
.