ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   3 Evaluation and Compilation   3.8 Dictionary Evaluation and Compilation

3.8.1 lambda Symbol

lambda lambda-list [[{declaration}* | documentation]] {form}*

lambda-list - an ordinary lambda list.

declaration - a declare expression; not evaluated.

documentation - a string; not evaluated.

form - a form.

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 established function.

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

See Also:
function, documentation, Section 3.1.3 Lambda Expressions, Section Lambda Forms, Section 3.4.11 Syntactic Interaction of Documentation Strings and Declarations

The lambda form

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

is semantically equivalent to the function form

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

Allegro CL Implementation Details:

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2015 - File last updated 03-23-2015