lambda
lambda( (s_formalArgument)g_expr1... ) =>U_result
Description
Defines a function without a name. This is a syntax form.
The keywords lambda and nlambda allow functions to be defined without having names. This is useful for writing temporary or local functions. In all other respects lambda is identical to the procedure form.
Arguments
|
SKILL expression to be evaluated when the function is called. |
Value Returned
Examples
(lambda( (x y) x + y ) 5 6)
=> 11
Related Topics
Function and Program Structure
Return to top