lambda
(lambda ( [argList] [ / varsList ]
) expr expr ... )
This function defines a Lambda function,
using argList as list of arguments, varsList as list of local
variables, and expr is a sequence of 1 or more Lisp expressions (the function
body).
Arguments |
argList a list of symbol names, used as arguments passed
when this lambda is called |
Return |
the value of the last evaluated expression |
Example |
(apply '(lambda ( x y ) (* x
y))) '(5 20)) |
Remarks |
a LAMBDA function is an "unnamed defun", see defun function, often used with mapcar and apply |
© Bricsys NV. All rights reserved. |