User Tools


Symbol LAMBDA

Syntax

  • lambda lambda-list [[declaration* | documentation]] form*

Arguments

Description

A lambda expression is a list that can be used in place of a function name in certain contexts to denote a function by directly describing its behavior rather than indirectly by referring to the name of an establishestablished function.

documentation is attached to the denoted function (if any is actually created) as a documentation string.

See Also

Macro LAMBDA, Special Operator FUNCTION, Generic Function DOCUMENTATION, {\secref\LambdaExpressions}, {\secref\LambdaForms}, {\secref\DocVsDecls}

Notes

The lambda form

((lambda lambda-list . body) . arguments)

is semantically equivalent to the function form

(funcall #'(lambda lambda-list . body) . arguments)

\issue{DECLS-AND-DOC} \issue{ISO-COMPATIBILITY:ADD-SUBSTRATE}