lambda

(lambda argument_list term1 ...)

The lambda function allows the definition of an anonymous function.

Arguments

argument_list is a list including the arguments of the anonymous function term1 ... terms to be evaluated.

The function returns the result of the last expression evaluated.

Example

: (mapcar '(lambda (s) (strcase s)) '("a" "b" "c" "d" "e" "f" "g")) ("A" "B" "C" "D" "E" "F" "G")

Related Functions

mapcar, apply